/*
Theme Name: Power Safety Theme
Theme URI: https://powersafety.co
Author: Power Safety Egypt
Author URI: https://powersafety.co
Description: ثيم احترافي مخصص لمصنع باور سيفتي - أحذية الأمان الصناعي. متجاوب مع جميع الأجهزة، سريع، وخالٍ من الأخطاء.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: powersafety
Tags: rtl-language, arabic, industrial, safety, responsive
*/

/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --ps-blue:        #1a4b8c;
  --ps-blue-dark:   #0f2f5a;
  --ps-blue-mid:    #1e5aa0;
  --ps-blue-light:  #2563c4;
  --ps-blue-pale:   #e8f1fb;
  --ps-accent:      #f0a500;
  --ps-accent-dark: #c88500;
  --ps-white:       #ffffff;
  --ps-off-white:   #f7f9fc;
  --ps-gray-light:  #eef1f5;
  --ps-gray:        #8899aa;
  --ps-gray-dark:   #4a5568;
  --ps-text:        #1a2533;
  --ps-text-light:  #5a6a7e;
  --ps-border:      #dde4ed;

  --font-heading: 'Cairo', 'Tajawal', sans-serif;
  --font-body:    'Tajawal', 'Cairo', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  24px;

  --shadow-sm:  0 2px 8px rgba(26,75,140,0.08);
  --shadow-md:  0 4px 20px rgba(26,75,140,0.13);
  --shadow-lg:  0 8px 40px rgba(26,75,140,0.18);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width:  1200px;
  --header-h:   70px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--ps-text);
  background: var(--ps-white);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

li {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===========================
   UTILITY CLASSES
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ps-blue-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--ps-text-light);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  margin: 0.75rem auto 0;
}

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-blue);
  background: var(--ps-blue-pale);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ps-blue);
  color: var(--ps-white);
  border-color: var(--ps-blue);
}

.btn-primary:hover {
  background: var(--ps-blue-light);
  border-color: var(--ps-blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ps-blue);
  border-color: var(--ps-blue);
}

.btn-secondary:hover {
  background: var(--ps-blue);
  color: var(--ps-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--ps-accent);
  color: var(--ps-blue-dark);
  border-color: var(--ps-accent);
}

.btn-accent:hover {
  background: var(--ps-accent-dark);
  border-color: var(--ps-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--ps-white);
  color: var(--ps-blue);
  border-color: var(--ps-white);
}

.btn-white:hover {
  background: var(--ps-blue-pale);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ===========================
   TOP BAR
=========================== */
.ps-topbar {
  background: var(--ps-blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ps-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ps-accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.topbar-phone svg {
  width: 15px;
  height: 15px;
  fill: var(--ps-accent);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.topbar-social a:hover {
  color: var(--ps-accent);
}

.topbar-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===========================
   HEADER & NAV
=========================== */
.ps-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ps-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.ps-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo .logo-text strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ps-blue);
  font-family: var(--font-heading);
}

.site-logo .logo-text span {
  font-size: 0.7rem;
  color: var(--ps-gray);
  letter-spacing: 0.05em;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.main-nav-list > .nav-item {
  position: relative;
}

.main-nav-list > .nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ps-text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav-list > .nav-item > a:hover,
.main-nav-list > .nav-item.current-menu-item > a {
  color: var(--ps-blue);
  background: var(--ps-blue-pale);
}

/* Dropdown */
.nav-item .dropdown-arrow {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition);
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ps-text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.sub-menu li a:hover {
  background: var(--ps-blue-pale);
  color: var(--ps-blue);
  padding-right: 20px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--ps-gray-light);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ps-blue-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--ps-white);
  border-top: 1px solid var(--ps-border);
  padding: 16px 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav.open {
  display: block;
  max-height: 600px;
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ps-text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  background: var(--ps-blue-pale);
  color: var(--ps-blue);
}

.mobile-nav .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0 0 0 16px;
  background: var(--ps-off-white);
  margin: 4px 20px;
  border-radius: var(--radius-md);
}

.mobile-nav .sub-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 14px;
}

/* ===========================
   HERO SECTION
=========================== */
.ps-hero {
  background: linear-gradient(135deg, var(--ps-blue-dark) 0%, var(--ps-blue) 60%, var(--ps-blue-mid) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.ps-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ps-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--ps-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-text .label-tag {
  background: rgba(255,255,255,0.15);
  color: var(--ps-accent);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--ps-white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-text h1 span {
  color: var(--ps-accent);
}

.hero-text p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ps-white);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
  display: block;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  background: var(--ps-white);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge.badge-1 { bottom: 30px; right: 0; }
.hero-badge.badge-2 { top: 40px; left: 0; }

.hero-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ps-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-badge .badge-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-text);
}

.hero-badge .badge-text span {
  font-size: 0.75rem;
  color: var(--ps-gray);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===========================
   FEATURES / ADVANTAGES
=========================== */
.ps-features {
  padding: 80px 0;
  background: var(--ps-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--ps-blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.feature-card:hover {
  border-color: var(--ps-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--ps-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--ps-blue);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--ps-text-light);
  line-height: 1.7;
}

/* ===========================
   PRODUCTS SECTION
=========================== */
.ps-products {
  padding: 80px 0;
  background: var(--ps-off-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--ps-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ps-border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ps-blue);
}

.product-img {
  height: 220px;
  overflow: hidden;
  background: var(--ps-gray-light);
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ps-blue);
  color: var(--ps-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--ps-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--ps-blue-pale);
  color: var(--ps-blue);
}

/* ===========================
   STATS SECTION
=========================== */
.ps-stats {
  background: var(--ps-blue);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.ps-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  position: relative;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--ps-white);
  line-height: 1;
  display: block;
}

.stat-number span {
  color: var(--ps-accent);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* ===========================
   WHY US SECTION
=========================== */
.ps-whyus {
  padding: 80px 0;
  background: var(--ps-white);
}

.whyus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.whyus-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.whyus-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.whyus-image .img-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--ps-white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.whyus-image .img-overlay .ov-icon {
  font-size: 2rem;
}

.whyus-image .img-overlay strong {
  display: block;
  font-weight: 700;
  color: var(--ps-text);
  font-size: 0.95rem;
}

.whyus-image .img-overlay span {
  font-size: 0.78rem;
  color: var(--ps-gray);
}

.whyus-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whyus-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.whyus-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ps-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.whyus-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 4px;
}

.whyus-item-text p {
  font-size: 0.85rem;
  color: var(--ps-text-light);
  line-height: 1.6;
}

/* ===========================
   CERTIFICATIONS
=========================== */
.ps-certs {
  padding: 70px 0;
  background: var(--ps-off-white);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--ps-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-card .cert-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.cert-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.78rem;
  color: var(--ps-gray);
}

/* ===========================
   CTA SECTION
=========================== */
.ps-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ps-blue-dark), var(--ps-blue));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ps-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--ps-white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  cursor: pointer;
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.65);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===========================
   FOOTER
=========================== */
.ps-footer {
  background: var(--ps-blue-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--ps-blue-light);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ps-accent);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '‹';
  color: var(--ps-accent);
  font-weight: 700;
  transition: transform var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item .fc-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--ps-accent);
}

/* ===========================
   INNER PAGES
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--ps-blue-dark), var(--ps-blue));
  padding: 50px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a {
  color: var(--ps-accent);
}

.breadcrumb span {
  color: rgba(255,255,255,0.35);
}

.page-content {
  padding: 60px 0;
}

/* ===========================
   BLOG / ARCHIVE
=========================== */
.post-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ps-blue);
}

.post-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--ps-gray-light);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.08);
}

.post-body {
  padding: 20px;
}

.post-meta {
  font-size: 0.78rem;
  color: var(--ps-gray);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.post-body p {
  font-size: 0.85rem;
  color: var(--ps-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--ps-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ps-text);
  background: var(--ps-white);
  transition: border-color var(--transition);
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ps-blue);
  box-shadow: 0 0 0 3px rgba(26,75,140,0.08);
}

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

/* ===========================
   SIDEBAR
=========================== */
.widget-area .widget {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ps-accent);
  display: inline-block;
}

/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--ps-border);
  transition: all var(--transition);
  color: var(--ps-text);
}

.pagination a:hover,
.pagination .current {
  background: var(--ps-blue);
  color: #fff;
  border-color: var(--ps-blue);
}

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 46px;
  height: 46px;
  background: var(--ps-blue);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(14px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--ps-blue-light);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
  .whyus-inner {
    grid-template-columns: 1fr;
  }
  .whyus-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }
  .ps-topbar .topbar-social { display: none; }
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .header-cta .btn:last-child { display: inline-flex; }
  .menu-toggle { display: flex; }

  .ps-hero { padding: 60px 0 80px; min-height: auto; }
  .hero-content { gap: 30px; }
  .hero-text h1 { font-size: 1.9rem; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .ps-cta { padding: 60px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .section-header { text-align: right; }
  .section-header .section-subtitle { max-width: 100%; }
  .btn-lg { padding: 13px 24px; }
  .wa-float { bottom: 16px; left: 16px; width: 52px; height: 52px; }
  .scroll-top { bottom: 16px; right: 16px; }
}

/* ===========================
   ACCESSIBILITY
=========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--ps-blue);
  outline-offset: 3px;
}

/* ===========================
   PRODUCT CARD (extra)
=========================== */
.product-img {
  height: 220px;
  overflow: hidden;
  background: var(--ps-gray-light);
  position: relative;
  display: block;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--ps-blue-pale);
}

.product-cat-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ps-blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.product-price-note {
  font-size: 0.75rem;
  color: var(--ps-text-light);
  font-weight: 600;
}

/* ===========================
   QUOTE REQUEST MODAL
=========================== */
.ps-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 30, 55, 0.6);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ps-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.ps-modal {
  background: var(--ps-white);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px 28px 28px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-lg);
}

.ps-modal-overlay.open .ps-modal {
  transform: translateY(0) scale(1);
}

.ps-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--ps-gray-light);
  color: var(--ps-text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.ps-modal-close:hover {
  background: var(--ps-border);
}

.ps-modal-icon {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 8px;
}

.ps-modal-body h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ps-blue-dark);
  margin-bottom: 6px;
}

.ps-modal-product-name {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ps-text-light);
  margin-bottom: 1.5rem;
}

.ps-modal-product-name strong {
  color: var(--ps-blue);
}

.ps-form-group {
  margin-bottom: 14px;
}

.ps-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 6px;
}

.ps-form-group input,
.ps-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ps-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ps-text);
  font-family: inherit;
  transition: border-color var(--transition);
}

.ps-form-group input:focus,
.ps-form-group textarea:focus {
  outline: none;
  border-color: var(--ps-blue);
  box-shadow: 0 0 0 3px rgba(26,75,140,0.08);
}

.ps-form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.ps-form-msg {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: none;
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.ps-form-msg.show { display: block; }
.ps-form-msg.error { background: #fdecea; color: #c0392b; }
.ps-form-msg.info  { background: var(--ps-blue-pale); color: var(--ps-blue-dark); }

.ps-form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ps-gray);
  margin-top: 12px;
  line-height: 1.6;
}

.ps-modal-success {
  text-align: center;
  padding: 20px 0;
}

.ps-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.ps-modal-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ps-blue-dark);
  margin-bottom: 8px;
}

.ps-modal-success p {
  font-size: 0.9rem;
  color: var(--ps-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

#quote-submit-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .ps-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .ps-modal {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
    animation: slideUpModal 0.3s ease;
  }
  @keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* ===========================
   CATEGORY FILTER PILLS
=========================== */
.cat-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--ps-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ps-text);
  background: var(--ps-white);
  transition: all var(--transition);
}

.cat-pill:hover {
  border-color: var(--ps-blue);
  color: var(--ps-blue);
}

.cat-pill.active {
  background: var(--ps-blue);
  border-color: var(--ps-blue);
  color: #fff;
}

.cat-count {
  font-size: 0.72rem;
  background: rgba(0,0,0,0.08);
  padding: 1px 7px;
  border-radius: 50px;
}

.cat-pill.active .cat-count {
  background: rgba(255,255,255,0.25);
}

/* ===========================
   SINGLE PRODUCT PAGE
=========================== */
.product-breadcrumb {
  background: var(--ps-off-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--ps-border);
  font-size: 0.82rem;
  color: var(--ps-gray);
  overflow-x: auto;
  white-space: nowrap;
}

.product-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-breadcrumb a { color: var(--ps-blue); }
.product-breadcrumb .current { color: var(--ps-text); font-weight: 600; }

.single-product-section {
  padding: 40px 0 70px;
}

.single-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* --- Gallery --- */
.product-gallery {
  position: sticky;
  top: 90px;
}

.product-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ps-blue-pale);
  aspect-ratio: 1 / 1;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.gallery-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--ps-blue-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-nav:hover { background: var(--ps-white); transform: translateY(-50%) scale(1.08); }
.gallery-prev { right: 14px; }
.gallery-next { left: 14px; }

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--ps-gray-light);
  transition: border-color var(--transition);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--ps-blue); }

/* --- Product Details --- */
.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ps-blue-dark);
  margin: 10px 0 12px;
  line-height: 1.3;
}

.product-lead {
  font-size: 1rem;
  color: var(--ps-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}

.qspec {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ps-off-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.qspec-icon { font-size: 1.3rem; }

.qspec strong {
  display: block;
  font-size: 0.78rem;
  color: var(--ps-gray);
  font-weight: 600;
}

.qspec span {
  display: block;
  font-size: 0.88rem;
  color: var(--ps-text);
  font-weight: 700;
}

.price-note-box {
  background: var(--ps-blue-pale);
  border: 1px dashed var(--ps-blue);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ps-blue-dark);
  margin-bottom: 1.5rem;
}

.product-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.product-features-list {
  border-top: 1px solid var(--ps-border);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-features-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 12px;
}

.product-features-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ps-text);
}

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ps-blue-pale);
  color: var(--ps-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ps-text-light);
  background: var(--ps-off-white);
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid var(--ps-border);
}

/* --- Tabs / Description --- */
.product-description-section {
  margin-top: 60px;
  max-width: 900px;
}

.product-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--ps-border);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ps-gray);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--ps-blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.tab-btn.active { color: var(--ps-blue); }
.tab-btn.active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--ps-border);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table th {
  text-align: right;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  background: var(--ps-off-white);
  width: 220px;
}

.specs-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--ps-text);
}

.related-products-section {
  margin-top: 70px;
}

/* --- Sticky Mobile CTA Bar --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: var(--ps-white);
  border-top: 1px solid var(--ps-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  align-items: center;
  gap: 10px;
}

.sticky-price {
  display: none;
}

.sticky-call-btn {
  flex-shrink: 0;
  width: 48px;
  padding: 0;
  font-size: 1.2rem;
}

/* ===========================
   RESPONSIVE: PRODUCTS
=========================== */
@media (max-width: 900px) {
  .single-product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
  .single-product-section { padding: 20px 0 90px; }
  .product-cta-row .btn { flex: 1 1 100%; }
  .product-features-list ul { grid-template-columns: 1fr; }
  .cat-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .specs-table th { width: 140px; font-size: 0.8rem; padding: 12px; }
  .specs-table td { font-size: 0.82rem; padding: 12px; }
  .product-gallery-main { aspect-ratio: 4 / 3; }
  .gallery-nav { width: 34px; height: 34px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .ps-products-archive-grid { grid-template-columns: 1fr; }
  .product-quick-specs { grid-template-columns: 1fr 1fr; }
  .qspec span { font-size: 0.8rem; }
  .product-tabs { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: 0.85rem; }
}

/* ===========================
   CATALOG VIEWER
=========================== */
.catalog-viewer {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.catalog-stage {
  position: relative;
  background: var(--ps-off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ps-border);
}

.catalog-page-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ps-white);
  box-shadow: var(--shadow-md);
}

.catalog-page-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ps-white);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.catalog-page-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
}

.catalog-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ps-white);
  color: var(--ps-blue-dark);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: all var(--transition);
  margin: 0 10px;
}

.catalog-nav:hover {
  background: var(--ps-blue);
  color: #fff;
  transform: scale(1.06);
}

.catalog-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.catalog-fullscreen {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--ps-blue-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.catalog-fullscreen:hover {
  background: var(--ps-blue);
  color: #fff;
}

.catalog-counter {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-text-light);
  margin-top: 14px;
}

.catalog-counter #catalog-current-num {
  color: var(--ps-blue);
}

.catalog-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 16px;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.catalog-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--ps-gray-light);
  transition: border-color var(--transition), transform var(--transition);
}

.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-thumb.active { border-color: var(--ps-blue); transform: translateY(-3px); }

/* Fullscreen mode */
.catalog-viewer.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  max-width: 100%;
  background: var(--ps-blue-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  margin: 0;
}

.catalog-viewer.is-fullscreen .catalog-stage {
  background: transparent;
  border: none;
  box-shadow: none;
}

.catalog-viewer.is-fullscreen .catalog-page-wrap {
  max-width: 640px;
  max-height: 80vh;
  aspect-ratio: auto;
  height: 80vh;
}

.catalog-viewer.is-fullscreen .catalog-counter,
.catalog-viewer.is-fullscreen .catalog-thumb {
  color: #fff;
}

/* Download CTA */
.catalog-download-cta {
  background: linear-gradient(135deg, var(--ps-blue-dark), var(--ps-blue));
  border-radius: var(--radius-xl);
  padding: 48px 30px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.catalog-download-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.catalog-download-cta h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.catalog-download-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .catalog-stage { padding: 14px; }
  .catalog-nav { width: 36px; height: 36px; font-size: 1.3rem; margin: 0 6px; }
  .catalog-page-wrap { max-width: 100%; }
  .catalog-download-cta { padding: 36px 20px; }
  .catalog-viewer.is-fullscreen .catalog-page-wrap { max-height: 70vh; height: 70vh; }
}

@media (max-width: 480px) {
  .catalog-thumb { width: 46px; height: 60px; }
}

/* ===========================
   CERTIFICATIONS PAGE
=========================== */
.cert-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 4rem;
}

.cert-page-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ps-blue), var(--ps-accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.cert-page-card:hover {
  border-color: var(--ps-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cert-page-card:hover::before {
  transform: scaleX(1);
}

.cert-page-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ps-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 18px;
  transition: all var(--transition);
}

.cert-page-card:hover .cert-page-icon {
  background: var(--ps-blue);
  transform: scale(1.06);
}

.cert-page-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ps-blue-dark);
  margin-bottom: 8px;
}

.cert-page-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ps-blue);
  background: var(--ps-blue-pale);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.cert-page-card p {
  font-size: 0.85rem;
  color: var(--ps-text-light);
  line-height: 1.75;
}

.cert-why-section {
  background: var(--ps-off-white);
  border-radius: var(--radius-xl);
  padding: 50px;
  margin-bottom: 2rem;
}

.cert-why-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cert-why-content .whyus-list {
  text-align: right;
  max-width: 520px;
  margin: 1.5rem auto 0;
}

@media (max-width: 768px) {
  .cert-why-section { padding: 30px 22px; }
  .cert-page-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cert-page-card { padding: 24px 16px; }
  .cert-page-icon { width: 56px; height: 56px; font-size: 1.6rem; margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .cert-page-grid { grid-template-columns: 1fr; }
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 3.5rem;
}

.contact-info-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--ps-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cic-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ps-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-blue-dark);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.82rem;
  color: var(--ps-text-light);
  margin-bottom: 10px;
  line-height: 1.6;
}

.cic-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ps-blue);
}

.contact-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-form-panel {
  background: var(--ps-off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--ps-border);
}

.contact-form-panel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ps-blue-dark);
  margin-bottom: 6px;
}

.contact-form-lead {
  font-size: 0.88rem;
  color: var(--ps-text-light);
  margin-bottom: 1.5rem;
}

.contact-side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--ps-border);
  box-shadow: var(--shadow-sm);
}

.contact-quick-cta {
  background: linear-gradient(135deg, var(--ps-blue-dark), var(--ps-blue));
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-align: center;
}

.contact-quick-cta h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-quick-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-map-wrap { height: 220px; }
}

@media (max-width: 480px) {
  .contact-form-panel { padding: 22px; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contact-info-card { padding: 20px 14px; }
}

/* ===========================
   WORDPRESS CORE
=========================== */
.wp-block-image img { border-radius: var(--radius-md); }
.aligncenter { margin: 0 auto; display: block; }
.alignright { float: left; margin-right: 0; margin-left: 1.5rem; }
.alignleft  { float: right; margin-left: 0; margin-right: 1.5rem; }

.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--ps-blue-dark); margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; line-height: 1.8; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content blockquote {
  border-right: 4px solid var(--ps-blue);
  padding: 14px 20px;
  background: var(--ps-blue-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--ps-blue-dark);
}
.entry-content a { color: var(--ps-blue); text-decoration: underline; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th,
.entry-content td { padding: 10px 14px; border: 1px solid var(--ps-border); text-align: right; }
.entry-content th { background: var(--ps-blue-pale); font-weight: 700; color: var(--ps-blue-dark); }
