:root {
  --primary: #0a63ff;
  --secondary: #00b8ff;
  --accent: #00d9ff;
  --bg: #ffffff;
  --light: #f8fafc;
  --dark: #111827;
  --shadow-soft: 0 10px 40px -10px rgba(10, 99, 255, 0.18);
  --shadow-hover: 0 22px 60px -12px rgba(10, 99, 255, 0.3);
  --grad: linear-gradient(135deg, #0a63ff 0%, #00b8ff 55%, #00d9ff 100%);
  --grad-dark: linear-gradient(135deg, #061a3a 0%, #0a63ff 100%);
}

* {
  scroll-behavior: smooth;
}
html {
  scroll-padding-top: 90px;
}
body {
  font-family: "Manrope", sans-serif;
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
}
h1,
h2,
h3,
.font-heading {
  font-family: "Sora", sans-serif;
}

/* ---------- Gradient helpers ---------- */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-grad {
  background: var(--grad);
}

/* ---------- Glassmorphism (CTA cards) ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.hidden-loader {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  width: 220px;
  max-width: 70vw;
  animation: pulseLogo 1.6s ease-in-out infinite;
}
.loader-bar {
  margin-top: 26px;
  width: 180px;
  height: 4px;
  border-radius: 99px;
  background: #e6effe;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: var(--grad);
  animation: loadSlide 1.1s ease-in-out infinite;
}
@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.82;
  }
}
@keyframes loadSlide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(360%);
  }
}

/* ---------- Header ---------- */
#header {
  transition: all 0.35s ease;
}
#header.scrolled {
  box-shadow: 0 6px 24px -10px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}
#header.scrolled .logo-img {
  height: 60px;
}
.logo-img {
  height: 60px;
  transition: height 0.35s ease;
}
.nav-link {
  position: relative;
  font-weight: 600;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--primary);
}

/* ---------- Buttons ---------- */
.btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.btn:hover {
  transform: scale(1.04);
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(10, 99, 255, 0.5);
}
.btn-primary:hover {
  box-shadow: 0 16px 34px -8px rgba(10, 99, 255, 0.6);
}
.btn-call {
  background: #16a34a;
  color: #fff;
}
.btn-wa {
  background: #25d366;
  color: #fff;
}

/* Button shine sweep */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-shine:hover::after {
  left: 140%;
}

/* ---------- Scroll progress bar ---------- */
#scrollBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 60;
  box-shadow: 0 0 12px rgba(10, 99, 255, 0.6);
  transition: width 0.1s linear;
}

/* ---------- Aurora glow blobs (GPU friendly) ---------- */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.aurora-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #0a63ff, transparent 70%);
  animation: floatA 16s ease-in-out infinite;
}
.aurora-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #00d9ff, transparent 70%);
  animation: floatB 19s ease-in-out infinite;
}
.aurora-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00b8ff, transparent 70%);
  animation: floatA 22s ease-in-out infinite;
}
@keyframes floatA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.12);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-34px, 28px) scale(1.1);
  }
}

/* ---------- 3D tilt cards ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

/* ---------- Trust ticker strip ---------- */
.ticker-strip {
  background: var(--dark);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
}
.ticker-item i {
  color: var(--accent);
}

/* ---------- Section heading kicker dot ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .brand-track,
  .ticker-track,
  .loader-logo {
    animation: none !important;
  }
}

/* Visually hidden but readable by search engines & screen readers */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */
.hero-swiper {
  height: 600px;
}
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.25s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(10, 99, 255, 0.7);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}
.hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.55;
  width: 10px;
  height: 10px;
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
  width: 28px;
  border-radius: 6px;
}

@media (max-width: 1024px) {
  .hero-swiper {
    height: 450px;
  }
}
@media (max-width: 640px) {
  .hero-swiper {
    height: 320px;
  }
}
@media (max-width: 540px) {
  .pcat-media {
    padding: 0.8rem !important;
  }
  .pcat-body {
    padding: 0.8rem !important;
  }
  .pcat-brand {
    height: 34px;
    padding: 0.25rem 0.8rem;
  }
  .pcat-brand .brandmark-img {
    max-height: 20px;
    max-width: 92px;
  }
  .pcat-view {
    padding: 5px 8px !important;
    font-size: 12px !important;
    margin: 0 auto !important;
  }
}

/* ---------- Cards ---------- */
.svc-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid #eef2f7;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.svc-card:hover .svc-icon {
  transform: rotate(5deg);
}
.svc-icon {
  transition: transform 0.35s ease;
}

/* ---- Product category cards (home "Products Category" grid) ---- */
.cat-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.prod-card {
  position: relative;
  background: #fff;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid #eef2f7;
}
.prod-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cfe0ff;
}
.prod-card .prod-img {
  transition: transform 0.55s ease;
}
.prod-card:hover .prod-img {
  transform: scale(1.07);
}
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(10, 99, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 99, 255, 0.18);
  backdrop-filter: blur(4px);
}
.prod-eye {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad);
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease;
  box-shadow: 0 6px 16px -4px rgba(10, 99, 255, 0.5);
}
.prod-card:hover .prod-eye {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* ---------- Spotlight glow (cursor follow) ---------- */
.spot {
  --mx: 50%;
  --my: 50%;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--mx) var(--my),
    rgba(10, 99, 255, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.spot:hover::after {
  opacity: 1;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-cap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(
    to top,
    rgba(6, 16, 38, 0.88) 0%,
    rgba(6, 16, 38, 0.25) 45%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-cap {
  opacity: 1;
}
.gallery-cap .cap-inner {
  transform: translateY(14px);
  transition: transform 0.45s ease;
}
.gallery-item:hover .gallery-cap .cap-inner {
  transform: translateY(0);
}
.gallery-zoom {
  margin-top: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.why-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  border: 1px solid #eef2f7;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.why-card:hover .why-icon {
  transform: rotate(5deg) scale(1.05);
}
.why-icon {
  transition: transform 0.35s ease;
}

/* ---------- Brand marquee ---------- */
.brand-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.brand-chip {
  flex: 0 0 auto;
  width: 170px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 6px 20px -12px rgba(17, 24, 39, 0.25);
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.brand-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-chip:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
}
.brand-chip:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}
.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

/* ---------- Brands grid (brands.html) ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}
/* Two per row on phones — a 210px minimum can't fit twice in the viewport,
   so auto-fill would otherwise drop to a single tall column. */
@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .brand-card {
    padding: 1.15rem 0.75rem 1rem;
    gap: 0.6rem;
    border-radius: 1rem;
  }
  .brand-card-logo {
    height: 62px;
  }
  .brand-card-name {
    font-size: 0.85rem;
    line-height: 1.3;
	
  }
  .brand-logo-text {
    font-size: 0.9rem;
  }
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  
      padding: 1.5rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 20px -14px rgba(17, 24, 39, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.brand-card:hover {
  transform: translateY(-6px);
  border-color: #d5e2ff;
  box-shadow: 0 24px 48px -26px rgba(2, 20, 60, 0.4);
}
.brand-card-logo {
  height: 84px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card-logo img {
  max-width: 82%;
  max-height: 100%;
  object-fit: contain;
}
/* Shown in place of the logo for a brand that has no image uploaded yet */
.brand-logo-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a63ff;
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.25;
}
.brand-chip .brand-logo-text {
  font-size: 0.95rem;
  white-space: nowrap;
}
.brand-card-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #111827;
  display:none;
}
/* ---------- Testimonials ---------- */
.testi-swiper {
  padding-bottom: 60px !important;
}
.testi-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
}

/* ---------- FAQ ---------- */
.faq-item {
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid #eef2f7;
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 320px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.35s ease;
}

/* ---------- Floating buttons ---------- */
.float-btns {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .float-btns {
    bottom: 24px;
  }
}
.float-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30%;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.float-btn:hover {
  transform: scale(1.1);
}
#backTop {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.25s ease;
}
#backTop.show {
  opacity: 1;
  visibility: visible;
}

/* ---------- Reveal animation (once) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* ---------- Counter underline ---------- */
.stat-num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Mobile menu ---------- */
#mobileMenu {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobileMenu.closed {
  transform: translateX(100%);
}

/* ---------- Product Filter Tabs ---------- */
.prod-filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}
.prod-filter-btn:hover {
  background: rgba(10, 99, 255, 0.35);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}
.prod-filter-btn.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(10, 99, 255, 0.55);
}
.prod-card-hidden {
  display: none !important;
}

/* ---------- Parallax Effects ---------- */
.parallax-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.parallax-dark::before {
  content: "";
  position: absolute;
  inset: -40% 0;
  background: var(--grad-dark);
  z-index: -1;
  will-change: transform;
  transform: translateY(var(--px-offset, 0px));
}

.parallax-light {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.parallax-light .aurora {
  will-change: transform;
  transform: translate(
    var(--blob-base-x, 0px),
    calc(var(--blob-base-y, 0px) + var(--px-blob, 0px))
  );
}

.parallax-dark .aurora {
  will-change: transform;
  transform: translate(
    var(--blob-base-x, 0px),
    calc(var(--blob-base-y, 0px) + var(--px-blob, 0px))
  );
}

@media (prefers-reduced-motion: reduce) {
  .parallax-dark::before,
  .parallax-light .aurora,
  .parallax-dark .aurora {
    transform: none !important;
  }
}

/* ---------- Breadcrumb hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}
.page-hero h1 {
  line-height: 1.1;
}
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb .current {
  color: var(--accent);
}

/* ---------- Process steps ---------- */
.process-step {
  border: 1px solid #eef2f7;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.process-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(10, 100, 255, 0.432);
}

/* ---------- Info / value cards ---------- */
.info-card {
  border: 1px solid #eef2f7;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

/* ---------- Contact form ---------- */
.field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 6px;
  display: block;
}
.field-input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: "Manrope", sans-serif;
  color: var(--dark);
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.field-input::placeholder {
  color: #94a3b8;
}
.field-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 99, 255, 0.12);
}
textarea.field-input {
  resize: vertical;
  min-height: 120px;
}
.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success {
  color: #16a34a;
}
.form-status.error {
  color: #ffe600;
}

.contact-tile {
  border: 1px solid #eef2f7;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.contact-tile:hover {
  transform: translateY(-4px);
  border-color: #cfe0ff;
  box-shadow: var(--shadow-soft);
}

/* ---------- Mobile floating button spacing ---------- */
@media (max-width: 767px) {
  .float-btns {
    bottom: 18px;
  }
  .brand-card{padding: 0.5rem 0.5rem 0.5rem;}
}

/* ================= PRODUCTS DROPDOWN (navbar) ================= */
.nav-dd {
  position: relative;
}
.dd-caret {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.nav-dd.open .dd-caret {
  transform: rotate(180deg);
}

/* Tippy.js custom theme for the products dropdown */
.tippy-box[data-theme~="aura-dd"] {
  background: #fff;
  color: #1f2937;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  box-shadow: 0 24px 48px -18px rgba(2, 20, 60, 0.28);
}
.tippy-box[data-theme~="aura-dd"] > .tippy-content {
  padding: 0.5rem;
}

.nav-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 260px;
  /* Cap height so the 15 categories don't fill the screen; scroll the rest.
     Sub-menus are separate nested popovers, so this scroll won't clip them. */
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  overflow-x: hidden;
  /* Thin, subtle scrollbar (Firefox) that doesn't overlap the row arrows */
  scrollbar-width: thin;
  scrollbar-color: #c7d2e1 transparent;
  scrollbar-gutter: stable;
}
/* Thin scrollbar (WebKit / Chromium) */
.nav-dropdown::-webkit-scrollbar {
  width: 6px;
}
.nav-dropdown::-webkit-scrollbar-thumb {
  background: #c7d2e1;
  border-radius: 99px;
}
.nav-dropdown::-webkit-scrollbar-thumb:hover {
  background: #aab8cc;
}
.nav-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.nav-dd-row {
  position: relative;
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #1f2937;
  line-height: 1.2;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-dd-item > span {
  flex: 1 1 auto;
}
.nav-dd-ic {
  color: #0a63ff;
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.nav-dd-more {
  font-size: 0.7rem;
  opacity: 0.45;
  flex-shrink: 0;
  transition:
    opacity 0.15s ease,
    color 0.15s ease;
}
.nav-dd-row:hover > .nav-dd-item {
  background: #0a63ff;
  color: #fff;
}
.nav-dd-row:hover > .nav-dd-item .nav-dd-ic,
.nav-dd-row:hover > .nav-dd-item .nav-dd-more {
  color: #fff;
  opacity: 1;
}

/* Sub-category flyout — rendered as a nested Tippy popover (positioning and
   show/hide handled by the library; the .tippy-box theme provides the card). */
.nav-submenu {
  min-width: 210px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7d2e1 transparent;
}
.nav-submenu::-webkit-scrollbar {
  width: 6px;
}
.nav-submenu::-webkit-scrollbar-thumb {
  background: #c7d2e1;
  border-radius: 99px;
}
.nav-submenu::-webkit-scrollbar-track {
  background: transparent;
}
.nav-sub-item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.25;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-sub-item:hover {
  background: #eff4ff;
  color: #0a63ff;
}

/* Dropdown is desktop-only; mobile uses the accordion menu */
@media (max-width: 1023px) {
  .tippy-box[data-theme~="aura-dd"] {
    display: none !important;
  }
}

/* ---- Product image / icon fallback (used by the catalog card media) ---- */
.prodx-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.prodx-icon {
  width: 88px;
  height: 88px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0a63ff, #00b8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

/* ===================================================================
   Product catalog — filter bar, cards, pagination
   =================================================================== */
.pcat-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr auto;
  gap: 1rem;
  align-items: end;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 1.25rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 12px 34px -24px rgba(2, 20, 60, 0.4);
  margin-bottom: 1.5rem;
}
.pcat-filters-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: #0a63ff;
  border: none;
  border-radius: 0.9rem;
  cursor: pointer;
}
.pcat-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.pcat-field label {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94a3b8;
}
.pcat-select {
  position: relative;
}
.pcat-select::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.68rem;
  color: #0a63ff;
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.pcat-select select,
.pcat-search input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  color: #111827;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.pcat-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.7rem 2.2rem 0.7rem 0.9rem;
  cursor: pointer;
}
.pcat-select select:focus,
.pcat-search input:focus {
  outline: none;
  border-color: #0a63ff;
  box-shadow: 0 0 0 3px rgba(10, 99, 255, 0.12);
}
.pcat-select select:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: #f1f5f9;
}
.pcat-search {
  position: relative;
}
.pcat-search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
}
.pcat-search input {
  padding: 0.7rem 0.9rem 0.7rem 2.3rem;
}
.pcat-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: fit-content;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 0.75rem;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}
.pcat-clear:hover {
  border-color: #0a63ff;
  color: #0a63ff;
  background: #f5f9ff;
}

/* ---- Toolbar: pagination + count ---- */
.pcat-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.5rem;
}
.pcat-toolbar-top {
  margin-top: 0;
  margin-bottom: 1.75rem;
}
.pcat-count {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.pcat-pager {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pcat-pg {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.pcat-pg:hover:not(:disabled):not(.is-active) {
  border-color: #0a63ff;
  color: #0a63ff;
}
.pcat-pg.is-active {
  background: #0a63ff;
  border-color: #0a63ff;
  color: #fff;
}
.pcat-pg:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---- Cards ---- */
.pcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.pcat-card {
  cursor: pointer;
  background: #fff;
  border: 1px solid #75c3e7;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.pcat-card:hover {
  border-color: #0a63ff;
  box-shadow: 0 24px 44px -26px rgba(10, 99, 255, 0.45);
  transform: translateY(-4px);
}
.pcat-media {
  background: #fff;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid #eef2f7;
}
.pcat-media .prodx-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pcat-media .prodx-icon {
  width: 84px;
  height: 84px;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #0a63ff, #00b8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
/* ── Brand logo strip (product card + quick-view modal) ── */
.pcat-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0.35rem 1.2rem;
  background: #fbfcfe;
  border-bottom: 1px solid #eef2f7;
}
.pmodal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0 0.25rem;
}
.brandmark-img {
  max-height: 26px;
  max-width: 120px;
  object-fit: contain;
}
.pmodal-brand .brandmark-img {
  max-height: 34px;
  max-width: 150px;
}
.brandmark-name {
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.pcat-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.pcat-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  line-height: 1.3;
}
.pcat-cat {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
}
.pcat-view {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #0a63ff;
  color: #0a63ff;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}
/* The pill is a span now; the card owns the hover/focus state. */
.pcat-card:hover .pcat-view,
.pcat-card:focus-visible .pcat-view {
  background: #0a63ff;
  color: #fff;
}
.pcat-card:focus-visible {
  outline: 2px solid #0a63ff;
  outline-offset: 3px;
}

/* ---- Empty state ---- */
.pcat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.pcat-empty i {
  font-size: 2.5rem;
  color: #cbd5e1;
}
.pcat-empty-head {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e293b;
}
.pcat-empty-sub {
  margin-top: -0.35rem;
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
}
.pcat-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
@media (max-width: 1024px) {
  .pcat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .pcat-filters-toggle {
    display: flex;
  }
  .pcat-filters {
    display: none;
    grid-template-columns: 1fr 1fr;
  }
  .pcat-filters.is-open {
    display: grid;
  }
  .pcat-field-search {
    grid-column: 1 / -1;
  }
  .pcat-clear {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .pcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .pcat-filters {
    grid-template-columns: 1fr;
  }
  .pcat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pcat-name {
    font-size: 0.9rem;
  }
}

/* ---- Product detail modal ---- */
.prod-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.prod-modal[hidden] {
  display: none;
}
.prod-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 40, 0.55);
  backdrop-filter: blur(3px);
  animation: pmFade 0.2s ease;
}
.prod-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(860px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(2, 20, 60, 0.5);
  animation: pmPop 0.22s ease;
}
@keyframes pmPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Thin, arrow-less scrollbars for the modal + cart drawer */
.prod-modal-box,
.cart-body {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.prod-modal-box::-webkit-scrollbar,
.cart-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.prod-modal-box::-webkit-scrollbar-track,
.cart-body::-webkit-scrollbar-track {
  background: transparent;
}
.prod-modal-box::-webkit-scrollbar-thumb,
.cart-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.prod-modal-box::-webkit-scrollbar-thumb:hover,
.cart-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.prod-modal-box::-webkit-scrollbar-button,
.cart-body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.prod-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s ease;
}
.prod-modal-close:hover {
  background: #e2e8f0;
}
.prod-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pmodal-media {
  background: #f5f8fc;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem;
  min-height: 320px;
}
.pmodal-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pmodal-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  cursor: zoom-in;
}

/* ---- Full-screen image zoom (layers above the detail modal) ---- */
.pm-zoom[hidden] {
  display: none;
}
.pm-zoom {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 12, 32, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  cursor: zoom-out;
  animation: pmPop 0.18s ease;
}
.pm-zoom-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
}
.pm-zoom-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pm-zoom-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.pmodal-icon {
  width: 140px;
  height: 140px;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #0a63ff, #00b8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
}
/* ---- Gallery thumbnails ---- */
.pmodal-thumbs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.pmodal-thumb {
  width: 62px;
  height: 62px;
  border-radius: 0.7rem;
  border: 2px solid transparent;
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px -4px rgba(2, 20, 60, 0.25);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.pmodal-thumb:hover {
  transform: translateY(-2px);
}
.pmodal-thumb.is-active {
  border-color: #0a63ff;
}
.pmodal-thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pmodal-thumb-ico {
  width: 100%;
  height: 100%;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, #0a63ff, #00b8ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.pmodal-body {
  padding: 2rem 2rem 2.2rem;
}
.pmodal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.pmodal-badge {
  background: #eef4ff;
  color: #0a63ff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.pmodal-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.pmodal-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.pmodal-feats h4 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 0.6rem;
}
.pmodal-feats ul {
  display: grid;
  gap: 0.4rem 0.9rem;
  margin-bottom: 1.4rem;
  /* Show ~2.5 features, scroll the rest with a thin blue scrollbar. */
  max-height: 7rem;
  overflow-y: auto;
  padding-right: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #0a63ff transparent;
}
.pmodal-feats ul::-webkit-scrollbar {
  width: 5px;
}
.pmodal-feats ul::-webkit-scrollbar-track {
  background: transparent;
}
.pmodal-feats ul::-webkit-scrollbar-thumb {
  background: #0a63ff;
  border-radius: 999px;
}
.pmodal-feats ul::-webkit-scrollbar-thumb:hover {
  background: #0050d8;
}
.pmodal-feats ul::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.pmodal-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
}
.pmodal-feats li i {
  color: #0a63ff;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}
.pmodal-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a63ff;
  border: 1px solid #cdddff;
  background: #f5f9ff;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.4rem;
  transition: background 0.15s ease;
}
.pmodal-cat:hover {
  background: #e9f1ff;
}
.pmodal-cat i {
  color: #dc2626;
}
.pmodal-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.pmodal-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
}
.pmodal-qty button {
  width: 2.5rem;
  height: 2.6rem;
  font-size: 1.1rem;
  color: #334155;
  background: #f8fafc;
  transition: background 0.15s ease;
}
.pmodal-qty button:hover {
  background: #eef2f7;
}
.pmodal-qty input {
  width: 3rem;
  text-align: center;
  border: 0;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pmodal-qty input::-webkit-outer-spin-button,
.pmodal-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pmodal-price {
  text-align: right;
}
.pmodal-price span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #52575e;
}
.pmodal-price strong {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
}
.pmodal-enquire {
  width: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 0.15s ease;
}
.pmodal-enquire:hover {
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .prod-modal-grid {
    grid-template-columns: 1fr;
  }
  .pmodal-media {
    min-height: 200px;
    padding: 1.5rem;
  }
  .pmodal-body {
    padding: 1.5rem;
  }
  .pmodal-feats ul {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   Enquiry cart — navbar button + slide-in drawer
   =================================================================== */
.cart-btn {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 1.15rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.cart-btn:hover {
  background: #eef4ff;
  color: #0a63ff;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #0a63ff;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
}
.cart-drawer[hidden] {
  display: none;
}
.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 35, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-drawer.open .cart-overlay {
  opacity: 1;
}
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 50px -25px rgba(2, 20, 60, 0.5);
}
.cart-drawer.open .cart-panel {
  transform: translateX(0);
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #eef2f7;
}
.cart-head h3 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #111827;
}
.cart-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
  transition: 0.15s;
}
.cart-close:hover {
  background: #f1f5f9;
  color: #111827;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.35rem;
}
.cart-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 0.7rem;
  background: #f5f8fc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-thumb-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a63ff, #00b8ff);
  color: #fff;
  font-size: 1.35rem;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-info h4 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #111827;
  line-height: 1.3;
}
.cart-item-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  padding: 0.12rem 0.45rem;
}
.cart-qty button {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.4rem;
  color: #0a63ff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-qty button:hover {
  background: #eef4ff;
}
.cart-qty span {
  min-width: 1.3rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-remove {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: #cbd5e1;
  align-self: center;
  transition: 0.15s;
}
.cart-remove:hover {
  color: #ef4444;
  background: #fef2f2;
}
.cart-foot {
  border-top: 1px solid #eef2f7;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cart-foot:empty {
  display: none;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
}
.cart-total strong {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: #111827;
}
.cart-enquire {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  border-radius: 0.8rem;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.15s;
}
.cart-enquire:hover {
  background: #1eb955;
}
.cart-clear {
  width: 100%;
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #fff;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.cart-clear:hover {
  color: #ef4444;
  border-color: #ef4444;
  background: #fef2f2;
}

.cart-enquire:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---------- Cart enquiry modal ----------
   Desktop shows the email wording, mobile the WhatsApp wording. The 768px
   breakpoint matches the isMobileEnquiry() check in js/main.js. */
.enq-mobile {
  display: none;
}
@media (max-width: 767px) {
  .enq-desktop {
    display: none;
  }
  .enq-mobile {
    display: inline;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 15, 30, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  padding: 36px 32px 30px;
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(2, 20, 60, 0.45);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh;
  overflow-y: auto;
}
.modal.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.7rem;
  line-height: 1;
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.2s;
}
.modal-close:hover {
  background: #f1f5f9;
  color: #111827;
}
.modal-box h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}
.modal-box h3 i {
  color: var(--primary);
}
.modal-sub {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* Floating-label fields */
.modal-form .form-row {
  display: flex;
  gap: 12px;
}
.modal-form .form-row .form-group {
  flex: 1;
}
@media (max-width: 520px) {
  .modal-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.modal-form .form-group {
  position: relative;
  margin-bottom: 18px;
}
.modal-form .form-group input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.85rem 0.9rem 0.5rem;
  font-size: 0.9rem;
  font-family: "Manrope", sans-serif;
  color: #111827;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.modal-form .form-group label {
  position: absolute;
  left: 0.95rem;
  top: 0.8rem;
  font-size: 0.9rem;
  color: #94a3b8;
  pointer-events: none;
  transition: 0.15s ease;
}
.modal-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 99, 255, 0.12);
}
.modal-form .form-group input:focus + label,
.modal-form .form-group input:not(:placeholder-shown) + label {
  top: 0.28rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
}
.btn-block {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.8rem;
  padding: 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
}
#cartEnqSubmit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.form-status {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  min-height: 1rem;
  color: #64748b;
}
.form-status.ok {
  color: #16a34a;
  font-weight: 600;
}
.form-status.error {
  color: #ef4444;
  font-weight: 600;
}

/* Confirmation toast after the modal closes */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 1200;
  background: #0b1220;
  color: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 18px 40px -12px rgba(2, 20, 60, 0.55);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  max-width: calc(100vw - 32px);
}
.cart-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.cart-toast i {
  color: #22c55e;
  margin-right: 0.35rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.cart-empty i {
  font-size: 2.5rem;
  color: #cbd5e1;
}
.cart-shop {
  color: #0a63ff;
  font-weight: 600;
}
.cart-shop:hover {
  text-decoration: underline;
}

/* Add-to-Cart button in the product modal (overrides the green enquire style) */
.pmodal-addcart {
  background: linear-gradient(135deg, #0a63ff, #00b8ff) !important;
}
.pmodal-addcart:hover {
  filter: brightness(1.05);
}
