/* =========================================================
   K2J Tech — Static Site Styles
   ========================================================= */

/* ----- Google Fonts ----- */
/* Loaded via <link rel="preconnect"> + <link rel="stylesheet"> in base.html <head>
   instead of @import, which would serialize the font request behind this stylesheet. */

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

/* ----- Design Tokens ----- */
:root {
  /* Brand */
  --navy: #0A1628;
  --navy-light: #0F1D32;
  --blue: #0056D2;
  --blue-light: #3B82F6;
  --orange: #FF6B35;
  --orange-light: #FF8A5C;
  --primary: #FF6B35;
  --slate: #6B7A90;

  /* Surface / UI */
  --background: #FAFBFC;
  --foreground: #0A1628;
  --card: #ffffff;
  --card-foreground: #0A1628;
  --muted: #F0F2F5;
  --muted-foreground: #5a6a80;
  --text-muted: #5a6a80;
  --border: #E4E8EE;
  --secondary-foreground: #F8F9FB;
  --accent-foreground: #ffffff;

  /* Radius */
  --radius: 0.75rem;
  --radius-xl: 0.875rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Font */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ----- Utility Classes ----- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.text-gradient {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ----- Animations ----- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out both;
}
.animate-fade-up-delay-1 {
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.animate-fade-up-delay-2 {
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.animate-fade-up-delay-3 {
  animation: fadeUp 0.6s ease-out 0.3s both;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-k2j {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--orange);
}

.logo-k2j sub {
  font-size: 0.6em;
  font-weight: 700;
  color: var(--orange);
}

.logo-tech {
  margin-left: 0.375rem;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--secondary-foreground);
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  position: relative;
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(248, 249, 251, 0.7);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--secondary-foreground);
}

/* Right side */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switcher:empty,
.mobile-lang-switcher:empty {
  display: none !important;
}

.lang-link {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 0.35rem;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--foreground);
}

.lang-link.active {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .lang-switcher {
    display: none; /* Hide in mobile header, will add to mobile menu */
  }
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-foreground);
  transition: all 0.3s;
}

.header-cta:hover {
  background: var(--orange-light);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.header-cta svg {
  transition: transform 0.3s;
}
.header-cta:hover svg {
  transform: rotate(-12deg);
}

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(248, 249, 251, 0.05);
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 1.5rem 1.5rem;
}

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

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 249, 251, 0.7);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(248, 249, 251, 0.05);
  color: var(--secondary-foreground);
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-foreground);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy), rgba(10, 22, 40, 0.8), var(--navy));
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy), transparent, rgba(10, 22, 40, 0.5));
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-inner {
  max-width: 48rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(248, 249, 251, 0.1);
  border-radius: var(--radius-full);
  background: rgba(248, 249, 251, 0.05);
  padding: 0.5rem 1.25rem;
  backdrop-filter: blur(4px);
}

.badge-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.badge-dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ade80;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 249, 251, 0.8);
}

/* Heading */
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

/* Description */
.hero-description {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-foreground);
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.btn-primary .arrow {
  transition: transform 0.3s;
}
.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(248, 249, 251, 0.2);
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: rgba(248, 249, 251, 0.4);
  background: rgba(248, 249, 251, 0.05);
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(248, 249, 251, 0.1);
}

@media (min-width: 1024px) {
  .hero-stats { gap: 4rem; }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--secondary-foreground);
}

@media (min-width: 1024px) {
  .stat-value { font-size: 2.25rem; }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(248, 249, 251, 0.1);
}

.stat-hidden-mobile {
  display: none;
}

@media (min-width: 640px) {
  .stat-hidden-mobile { display: block; }
}

/* Hero Bottom Fade */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* =========================================================
   MARQUEE BAR
   ========================================================= */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.marquee-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-wrap: balance;
}

.section-description {
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Service Cards */
.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 16px 48px rgba(0, 86, 210, 0.05);
}

.service-number {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(107, 122, 144, 0.4);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-2xl);
  background: var(--muted);
  color: var(--foreground);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 86, 210, 0.2);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.service-card p {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.service-learn-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transition: all 0.3s;
}

.service-card:hover .service-learn-more {
  opacity: 1;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 7rem 0 9rem;
}

.about-decor-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(0, 86, 210, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.about-decor-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    flex-direction: row;
    gap: 5rem;
  }
}

.about-images {
  flex: 1;
}

.about-images-wrapper {
  position: relative;
}

.about-main-image {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.about-main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-floating-image {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  width: 12rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 4px solid var(--navy);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .about-floating-image {
    right: -2rem;
    bottom: -3rem;
    width: 16rem;
  }
}

.about-floating-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* About content */
.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .about-content { padding-top: 0; }
}

.about-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.about-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

.about-description {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

/* Highlight cards */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.highlight-card {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(248, 249, 251, 0.1);
  background: rgba(248, 249, 251, 0.05);
  padding: 1.25rem;
  transition: all 0.3s;
}

.highlight-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  background: rgba(0, 86, 210, 0.05);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue-light);
  transition: all 0.3s;
}

.highlight-card:hover .highlight-icon {
  background: var(--blue);
  color: white;
}

.highlight-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.highlight-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary-foreground);
}

.highlight-text {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--slate);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.gallery-header {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.gallery-header .section-title {
  max-width: none;
}

.gallery-subtitle {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
  }
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
}

.bento-item img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

@media (min-width: 768px) {
  .bento-item img { height: 100%; }
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Make only the LAST image wider on mobile to fill the gap */
@media (max-width: 767px) {
  .bento-grid .bento-item:last-child {
    grid-column: span 2;
  }
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0);
  transition: background 0.3s;
}

.bento-item:hover .bento-overlay {
  background: rgba(10, 22, 40, 0.2);
}

.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.bento-item:hover .bento-caption {
  transform: translateY(0);
}

.bento-caption-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-foreground);
}

.bento-caption-sub {
  font-size: 0.75rem;
  color: rgba(248, 249, 251, 0.6);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: fadeIn 0.2s ease;
}

.lightbox.hidden { display: none; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(248, 249, 251, 0.2);
}

.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.1);
  color: var(--secondary-foreground);
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(248, 249, 251, 0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (min-width: 768px) {
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
}

.lightbox img {
  max-height: 85vh;
  max-width: calc(100% - 6rem);
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   LOCATION
   ========================================================= */
.location {
  background: var(--muted);
  padding: 7rem 0 9rem;
}

.location-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .location-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.location-tabs {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  border-radius: 9999px;
  background: var(--card);
  padding: 0.375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .location-tabs { margin-top: 0; }
}

.location-tab {
  background: transparent;
  border: none;
  padding: 0.625rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-tab:hover {
  color: var(--foreground);
}

.location-tab.active {
  background: var(--navy);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
}

.location-grid.store-grid {
  display: none;
}

.location-grid.store-grid.active {
  display: flex;
}

.location-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .location-grid { flex-direction: row; }
}

.map-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.map-wrapper iframe, .map-wrapper #map-placeholder {
  width: 100%;
  flex: 1;
  min-height: 22rem;
  border: 0;
}

@media (min-width: 1024px) {
  .map-wrapper iframe, .map-wrapper #map-placeholder { min-height: 27.5rem; }
}

/* Info cards */
.location-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .location-info { width: 22.5rem; }
}

.info-card {
  flex: 1;
  border-radius: var(--radius-3xl);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}

.info-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.info-icon.blue {
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue);
}

.info-icon.orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.info-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.info-card-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-card-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  background: var(--muted);
  padding: 0.5rem 0.75rem;
}

.hours-row + .hours-row {
  margin-top: 0.625rem;
}

.hours-day {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hours-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.hours-closed {
  color: var(--muted-foreground);
}

/* Directions CTA */
.directions-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius-3xl);
  background: var(--navy);
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  transition: all 0.3s;
}

.directions-cta:hover {
  background: var(--navy-light);
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.2);
}

.directions-cta .nav-icon {
  color: var(--orange);
}

.directions-cta svg:last-child {
  transition: transform 0.3s;
}
.directions-cta:hover svg:last-child {
  transform: translateX(4px);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  position: relative;
  background: var(--background);
  padding: 8rem 0 10rem;
  overflow: hidden;
}

.faq-bg-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60rem;
  height: 60rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 86, 210, 0.05) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq .section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 5rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.faq-item {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(248, 249, 251, 0.1);
  background: rgba(248, 249, 251, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 86, 210, 0.3);
  background: rgba(248, 249, 251, 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-title-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.faq-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: rgba(248, 249, 251, 0.05);
  color: var(--slate);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-type-icon.droplet { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.faq-type-icon.dollar { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.faq-type-icon.monitor { color: #818cf8; background: rgba(129, 140, 248, 0.1); }
.faq-type-icon.clock { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.faq-type-icon.zap { color: #f472b6; background: rgba(244, 114, 182, 0.1); }

.faq-item:hover .faq-type-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.05);
  color: var(--muted-foreground);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active {
  background: rgba(248, 249, 251, 0.06);
  border-color: rgba(0, 86, 210, 0.4);
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.1);
}

.faq-item.active .faq-toggle {
  color: var(--blue-light);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--blue);
  color: white;
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  padding: 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 2rem;
}

/* CTA Card */
.faq-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.faq-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.faq-cta-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: rgba(0, 86, 210, 0.1);
  color: var(--blue);
  margin-bottom: 2rem;
}

.faq-cta-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.faq-cta-card p {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 22rem;
  line-height: 1.6;
}

.faq-cta-card .btn-secondary {
  background: var(--navy);
  color: var(--secondary-foreground);
  border-color: rgba(248, 249, 251, 0.2);
}

.faq-cta-card .btn-secondary:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

@media (max-width: 1023px) {
  .faq-cta-card {
    margin-top: 1rem;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 7rem 0 9rem;
}

.contact-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50rem;
  height: 50rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.03);
  filter: blur(48px);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.contact-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  text-wrap: balance;
}

.contact-description {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

/* Phone card */
.phone-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  border: 1px solid rgba(248, 249, 251, 0.1);
  border-radius: var(--radius-3xl);
  background: rgba(248, 249, 251, 0.05);
  padding: 2rem 2.5rem;
  backdrop-filter: blur(4px);
}

.phone-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.phone-card a {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  transition: color 0.2s;
}

.phone-card a:hover {
  color: var(--orange);
}

/* Contact CTAs */
.contact-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .contact-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
}

.footer-divider {
  height: 1px;
  background: rgba(248, 249, 251, 0.1);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--slate);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--secondary-foreground);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate);
  transition: color 0.2s;
}

a.footer-contact-item:hover {
  color: var(--secondary-foreground);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(248, 249, 251, 0.1);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--slate);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

/* =========================================================
   PAGE HERO (reusable for sub-pages)
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 10rem 0 5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-decor-1 {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.06);
  filter: blur(80px);
  pointer-events: none;
}

.page-hero-decor-2 {
  position: absolute;
  bottom: -8rem;
  left: -8rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgba(0, 86, 210, 0.06);
  filter: blur(80px);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(248, 249, 251, 0.1);
  border-radius: var(--radius-full);
  background: rgba(248, 249, 251, 0.05);
  padding: 0.4rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary-foreground);
  line-height: 1.1;
  text-wrap: balance;
}

.page-hero-description {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--slate);
}

.breadcrumb a {
  color: var(--slate);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--secondary-foreground);
}

.breadcrumb-sep {
  color: rgba(107, 122, 144, 0.4);
}

.breadcrumb-current {
  color: var(--orange-light);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* Story Section */
.about-story {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.about-story-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-story-grid {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}

.about-story-content {
  flex: 1;
}

.about-story-content .section-label {
  margin-bottom: 1rem;
}

.about-story-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.about-story-text + .about-story-text {
  margin-top: 1rem;
}

.about-story-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.about-story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Timeline */
.timeline-section {
  background: var(--navy);
  padding: 7rem 0 9rem;
  position: relative;
  overflow: hidden;
}

.timeline-section .section-label {
  color: var(--blue-light);
}

.timeline-section .section-title {
  color: var(--secondary-foreground);
}

.timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.75rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--orange), var(--blue));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--blue);
  z-index: 1;
  transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    padding-left: 0;
    padding-right: 3rem;
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
    grid-column: 2;
  }

  .timeline-item:nth-child(odd) {
    grid-column: 1;
  }

  /* Explicit row placement so all 6 items are visible */
  .timeline-item:nth-child(1) { grid-row: 1; }
  .timeline-item:nth-child(2) { grid-row: 1; }
  .timeline-item:nth-child(3) { grid-row: 2; }
  .timeline-item:nth-child(4) { grid-row: 2; }
  .timeline-item:nth-child(5) { grid-row: 3; }
  .timeline-item:nth-child(6) { grid-row: 3; }

  .timeline-dot {
    left: auto;
    right: -0.75rem;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -0.75rem;
  }
}

/* Values Grid */
.values-section {
  background: var(--background);
  padding: 7rem 0 9rem;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 4rem;
}

@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.08);
  transform: translateY(-4px);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: var(--muted);
  color: var(--blue);
  transition: all 0.3s;
}

.value-card:hover .value-icon {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 86, 210, 0.25);
}

.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Stats Banner */
.stats-banner {
  background: var(--navy);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-foreground);
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-card-value { font-size: 3rem; }
}

.stat-card-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

/* Contact Methods Grid */
.contact-methods {
  background: var(--background);
  padding: 5rem 0;
}

.contact-methods-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) { .contact-methods-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-methods-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
}

.contact-method-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.08);
  transform: translateY(-6px);
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  max-height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0;
  transition: all 0.3s;
}

.contact-method-icon.phone { background: rgba(0, 86, 210, 0.1); color: var(--blue); }
.contact-method-icon.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25D366; }
.contact-method-icon.email { background: rgba(255, 107, 53, 0.1); color: var(--orange); }
.contact-method-icon.location { background: rgba(129, 140, 248, 0.1); color: #818cf8; }

.contact-method-card:hover .contact-method-icon.phone { background: var(--blue); color: white; }
.contact-method-card:hover .contact-method-icon.whatsapp { background: #25D366; color: white; }
.contact-method-card:hover .contact-method-icon.email { background: var(--orange); color: white; }
.contact-method-card:hover .contact-method-icon.location { background: #818cf8; color: white; }

.contact-method-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-method-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-method-card p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.contact-method-card .contact-value {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

/* Contact Form Section */
.contact-form-section {
  background: var(--muted);
  padding: 7rem 0 9rem;
}

.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .contact-form-grid {
    flex-direction: row;
    align-items: flex-start;
  }
}

.contact-form-wrapper {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { flex-direction: row; }
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  /* 16px minimum: iOS Safari zooms the viewport on focus below this. */
  font-size: 1rem;
  color: var(--foreground);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-foreground);
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--orange-light);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
}

.form-submit svg {
  transition: transform 0.3s;
}

.form-submit:hover svg {
  transform: translateX(4px);
}

/* Contact sidebar info */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .contact-sidebar { width: 22.5rem; }
}

.contact-info-card {
  border-radius: var(--radius-3xl);
  background: var(--card);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-card h3 .info-icon {
  margin-bottom: 0;
}

/* Contact Map Section (reuses location styles) */
.contact-map-section {
  background: var(--background);
  padding: 7rem 0 9rem;
}

/* =========================================================
   BLOG INDEX PAGE
   ========================================================= */

/* Featured Article */
.blog-featured {
  background: var(--background);
  padding: 5rem 0 3rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s;
}

@media (min-width: 768px) {
  .featured-card { flex-direction: row; }
}

.featured-card:hover {
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.1);
  border-color: rgba(0, 86, 210, 0.2);
}

.featured-image {
  flex: 1;
  overflow: hidden;
  min-height: 16rem;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.05);
}

.featured-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .featured-content { padding: 3rem; }
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-tag.phone { background: rgba(0, 86, 210, 0.1); color: var(--blue); }
.blog-tag.computer { background: rgba(129, 140, 248, 0.1); color: #818cf8; }
.blog-tag.tips { background: rgba(74, 222, 128, 0.1); color: #22c55e; }
.blog-tag.featured { background: rgba(255, 107, 53, 0.1); color: var(--orange); }
.blog-tag.accessories { background: rgba(251, 191, 36, 0.1); color: #f59e0b; }

.featured-content h2 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.featured-content h2 a {
  color: inherit;
  transition: color 0.2s;
}

.featured-content h2 a:hover {
  color: var(--blue);
}

.featured-excerpt {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.featured-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--orange);
  transition: all 0.3s;
}

.read-more-link:hover {
  color: var(--orange-light);
}

.read-more-link svg {
  transition: transform 0.3s;
}

.read-more-link:hover svg {
  transform: translateX(4px);
}

/* Blog Grid */
.blog-grid-section {
  background: var(--background);
  padding: 3rem 0 9rem;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 20px 48px rgba(0, 86, 210, 0.08);
  transform: translateY(-4px);
}

.blog-card-image {
  overflow: hidden;
  height: 13rem;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-card-content h3 a {
  color: inherit;
  transition: color 0.2s;
}

.blog-card-content h3 a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* =========================================================
   BLOG ARTICLE PAGE
   ========================================================= */
.article-section {
  background: var(--background);
  padding: 0 0 6rem;
}

.article-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Article Header */
.article-header {
  text-align: center;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.article-header h1 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
}

/* Article Content Typography */
/* A post's cover photo, when it has one — set in the blog form, or picked in the AI chat. */
.article-cover {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--foreground);
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.article-body strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Callout box inside articles */
.article-callout {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0, 86, 210, 0.2);
  background: rgba(0, 86, 210, 0.04);
}

.article-callout.warning {
  border-color: rgba(255, 107, 53, 0.3);
  background: rgba(255, 107, 53, 0.04);
}

.article-callout h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.article-callout.warning h4 {
  color: var(--orange);
}

.article-callout p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Article CTA */
.article-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--navy);
  text-align: center;
}

.article-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-foreground);
  margin-bottom: 0.75rem;
}

.article-cta p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .btn-primary {
  display: inline-flex;
}

/* Callout headings: the original posts use <h3> inside the box, styled like the <h4>. */
.article-callout h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
}
.article-callout.warning h3 { color: var(--orange); }
.article-callout.tip { border-color: rgba(15, 123, 79, 0.25); background: rgba(15, 123, 79, 0.05); }
.article-callout.tip h3, .article-callout.tip h4 { color: #0f7b4f; }
.article-callout ul { margin: 0.5rem 0 0; }

/* Opening paragraph */
.article-body .article-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--foreground);
}

/* "In short" box */
.article-key-points {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-2xl);
  background: var(--muted);
  border-left: 4px solid var(--blue);
}
.article-key-points h3 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.article-key-points ul { margin: 0.5rem 0 0; }
.article-key-points li { margin-bottom: 0.4rem; }

/* Numbered steps */
.article-body ol.article-steps { list-style: none; counter-reset: step; padding-left: 0; }
.article-steps li {
  counter-increment: step;
  position: relative;
  padding: 0.25rem 0 0.25rem 3rem;
  margin-bottom: 1.25rem;
}
.article-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

/* Comparison tables: scroll sideways on a phone instead of squashing */
.article-table-wrap { margin: 2rem 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-xl); }
.article-table-wrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.9375rem; }
.article-table-wrap th, .article-table-wrap td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-table-wrap th { background: var(--muted); color: var(--foreground); font-weight: 700; }
.article-table-wrap td { color: var(--muted-foreground); }
.article-table-wrap tr:last-child td { border-bottom: 0; }

/* Photos inside the text: framed, captioned, credited */
.article-figure {
  margin: 2rem auto;
  max-width: 640px;
  padding: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.06);
}
.article-figure-wide { max-width: none; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl); }
.article-figure figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted-foreground); text-align: center; }
.article-figure-credit { display: block; margin-top: 0.15rem; font-size: 0.75rem; opacity: 0.8; }

/* Related Articles */
.related-articles {
  background: var(--muted);
  padding: 5rem 0 7rem;
}

.related-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

/* =========================================================
   NAVIGATION ACTIVE STATE FOR MULTI-PAGE
   ========================================================= */
.nav-link.active,
.mobile-nav-link.active {
  color: var(--secondary-foreground);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0.125rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Footer nav for multi-page */
.footer-nav a.active {
  color: var(--secondary-foreground);
}

/* Make entire service card clickable */
.service-card {
  position: relative;
}
.service-card-link {
  color: inherit;
  text-decoration: none;
}
.service-card-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

/* =========================================================
   SHOP & PRODUCT PAGES
   ========================================================= */

/* ---- Filter Bar ---- */
.shop-filter-bar {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 72px;
  z-index: 40;
}

.shop-filter-bar .container {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shop-filter-bar .container::-webkit-scrollbar { display: none; }

.filter-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.filter-pill.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.filter-pill:hover:not(.active) {
  background: var(--muted);
  border-color: var(--blue-light);
  color: var(--blue-light);
}

/* ---- Search and filters ---- */
.shop-toolbar-section {
  padding: 1.5rem 0 0.5rem;
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.shop-search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  color: var(--muted-foreground);
}
.shop-search svg, .shop-search i { width: 18px; height: 18px; flex: none; }
.shop-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.15); }
.shop-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.75rem 0;
  font: inherit;
  font-size: 1rem;
  color: var(--foreground);
}
.shop-sort select,
.shop-filters-toggle,
.shop-category select,
.shop-price input {
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  color: var(--foreground);
  font: inherit;
  /* 16px: below that iPhones zoom the page when a field is tapped. */
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
}
.shop-sort select { cursor: pointer; }
.shop-filters { position: relative; }
.shop-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.shop-filters-toggle::-webkit-details-marker { display: none; }
.shop-filters-toggle svg, .shop-filters-toggle i { width: 16px; height: 16px; }
.shop-filters[open] .shop-filters-toggle { border-color: var(--blue); color: var(--blue); }
.shop-filters-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: var(--accent-foreground);
  font-size: 0.75rem;
}
.shop-filters-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 45;
  width: 300px;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
}
.shop-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.shop-category { display: grid; }
.shop-category select { width: 100%; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.shop-filter-heading,
.shop-price legend {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted-foreground);
}
.shop-price label { flex: 1; min-width: 0; }
.shop-price input { width: 100%; border-radius: var(--radius); font-weight: 500; }
.shop-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
}
/* The whole label is the touch target, so the box itself stays box-sized on phones
   (where every input otherwise gets a 44px minimum height). */
.shop-check { min-height: 44px; }
.shop-check input[type="checkbox"] { width: 18px; height: 18px; min-width: 0; min-height: 0; flex: none; accent-color: var(--blue); }
.shop-toolbar-submit { padding: 0.75rem 1.5rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.shop-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.shop-clear { color: var(--blue); font-weight: 600; text-decoration: underline; }

@media (max-width: 640px) {
  .shop-search { flex-basis: 100%; }
  .shop-sort { flex: 1 1 auto; }
  .shop-sort select { width: 100%; }
  .shop-filters { order: 1; }
  .shop-toolbar-submit { order: 2; }
  /* On a phone the panel opens in place, full width, instead of floating. */
  .shop-filters[open] { flex-basis: 100%; order: 3; }
  .shop-filters-panel { position: static; width: auto; margin-top: 0.5rem; box-shadow: none; }
}

/* ---- Product Grid ---- */
.shop-section {
  padding: 3rem 0 6rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Product Card ---- */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 86, 210, 0.12);
  border-color: rgba(0, 86, 210, 0.3);
}

.product-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--muted);
  overflow: hidden;
}
.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image-wrap img {
  transform: scale(1.04);
}
.product-card-image-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.badge-in-stock {
  background: #dcfce7;
  color: #15803d;
}
.badge-out-of-stock {
  background: #fee2e2;
  color: #dc2626;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.product-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name a {
  color: inherit;
  text-decoration: none;
}
.product-card-name a:hover {
  color: var(--blue);
}
.product-card-price {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--blue);
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-card-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
}
.btn-add-cart {
  flex: 1;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.625rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-add-cart:hover:not(:disabled) {
  background: var(--navy);
}
.btn-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-whatsapp-card {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-whatsapp-card:hover {
  background: #1da851;
}
.btn-whatsapp-card svg,
.btn-whatsapp-card i {
  width: 18px;
  height: 18px;
}

/* ---- Empty State ---- */
.shop-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.shop-empty-state svg {
  color: var(--muted-foreground);
  opacity: 0.4;
}
.shop-empty-state h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
}
.shop-empty-state p {
  color: var(--muted-foreground);
  max-width: 24rem;
}

/* ---- Product Detail ---- */
.product-detail-section {
  padding: 3rem 0 6rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery-panel {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-2xl);
}
.product-gallery-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.product-gallery-panel:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 112, 243, 0.14);
}

/* --- Product thumbnails --------------------------------------------------
   `.product-gallery-panel img` above styles the main photo as a full-width
   square. These selectors are deliberately more specific so the thumbnails are
   not caught by it, and so the hover lift applies only to the main image. */
.product-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.product-gallery-panel:hover .product-thumb img {
  transform: none;
  box-shadow: none;
}

.product-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.product-gallery-panel .product-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 2px);
  box-shadow: none;
  transition: none;
  display: block;
}

.product-thumb:hover { border-color: rgba(0, 112, 243, 0.4); }
.product-thumb.is-active { border-color: #0070f3; }

.product-thumb:focus-visible {
  outline: 2px solid #0070f3;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .product-thumb { width: 58px; height: 58px; }
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-category-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.2;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue);
}

.product-stock-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.stock-available {
  background: #dcfce7;
  color: #15803d;
}
.stock-unavailable {
  background: #fee2e2;
  color: #dc2626;
}

.product-description {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
}

.product-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Quantity Stepper */
.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: fit-content;
}
.quantity-btn {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--muted);
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--foreground);
  font-family: var(--font-sans);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quantity-btn:hover {
  background: var(--blue);
  color: white;
}
.quantity-input {
  width: 3rem;
  height: 2.5rem;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  background: var(--card);
  outline: none;
  font-family: var(--font-sans);
  -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.btn-add-cart-detail {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}
.btn-add-cart-detail:hover:not(:disabled) {
  background: var(--navy);
}
.btn-add-cart-detail:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-whatsapp-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s ease;
}
.btn-whatsapp-detail:hover {
  background: #1da851;
  color: white;
}

/* Trust Badges */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius-2xl);
}
.trust-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 86, 210, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.trust-badge-icon svg,
.trust-badge-icon i {
  width: 20px;
  height: 20px;
}
.trust-badge-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Related Products */
.related-products {
  margin-top: 4rem;
}
.related-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.related-products-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
}

/* =========================================================
   MOBILE RESPONSIVE OVERRIDES (PHASE 5 OPTIMIZATIONS)
   ========================================================= */

/* ---- GENERAL MOBILE RULES ---- */
@media (max-width: 768px) {
  body {
    min-width: 320px;
    overflow-x: hidden;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Touch target sizes & minimum font-size rules */
  a, button, select, input, textarea, .filter-pill, .quantity-btn {
    min-height: 44px;
  }

  a, button, .filter-pill, .quantity-btn {
    font-size: 14px !important;
  }

  /* Focusable text controls stay at 16px: below that iOS Safari zooms the
     viewport on focus and never zooms back out. */
  select, input, textarea {
    font-size: 1rem !important;
  }
  
  /* General padding & margin resets to save mobile space */
  .services, .shop-section, .product-detail-section {
    padding-top: 2rem !important;
    padding-bottom: 4rem !important;
  }
}

/* ---- MOBILE: Shop Page ---- */
@media (max-width: 768px) {
  /* Hero section scaling */
  .page-hero {
    padding: 4rem 16px 2rem !important;
    min-height: auto !important;
  }
  .page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    line-height: 1.25 !important;
  }
  
  /* Horizontal scrolling for filter pills without wrapping */
  .shop-filter-bar {
    padding: 0.75rem 0 !important;
    top: 70px !important; /* aligned below navigation header */
    overflow: hidden;
    position: relative;
  }
  .shop-filter-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(250, 251, 252, 0.95));
    pointer-events: none;
    z-index: 5;
  }
  .shop-filter-bar .container {
    overflow: visible !important;
    padding: 0 !important;
  }
  .filter-bar-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    width: 100%;
  }
  .filter-bar-scroll::-webkit-scrollbar {
    display: none !important;
  }
  .filter-pill {
    height: 40px;
    min-height: 40px;
    padding: 0 1.25rem !important;
    font-size: 0.875rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive Product Grid & Cards */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .product-card-image-wrap {
    aspect-ratio: 1 / 1 !important;
  }
  .product-card-body {
    padding: 0.875rem !important;
    gap: 0.25rem !important;
  }
  .product-card-name {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    height: 2.8em;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .product-card-price {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--blue) !important;
    padding-top: 0.25rem !important;
  }
  .product-card-actions {
    padding: 0 0.875rem 0.875rem !important;
    gap: 0.5rem !important;
  }
  .btn-add-cart {
    height: 44px;
    min-height: 44px;
    font-size: 0.875rem !important;
  }
  .btn-whatsapp-card {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 400px) {
  /* Collapse Product Grid to 1 Column on very small devices */
  .product-grid {
    grid-template-columns: 1fr !important;
  }
  .page-hero-description {
    display: none !important;
  }
  
  /* Vertical stack on tiny screens */
  .product-card-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .btn-whatsapp-card {
    width: 100% !important;
    border-radius: var(--radius-full) !important;
  }
  .btn-add-cart .btn-text-desktop {
    display: none !important;
  }
  .btn-add-cart .btn-text-mobile {
    display: inline !important;
  }
}

/* ---- MOBILE: Product Detail ---- */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .product-gallery-panel {
    position: static !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    border-radius: 0 !important;
  }
  .product-gallery-panel img {
    border-radius: 0 !important;
    aspect-ratio: 4 / 3 !important;
    box-shadow: none !important;
  }
  .product-gallery-panel:hover img {
    transform: none !important;
    box-shadow: none !important;
  }
  .product-info-panel {
    padding: 0 16px !important;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: clamp(1.4rem, 5vw, 2.5rem) !important;
  }
  .product-price {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
  }
  .product-description {
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
  }
  
  /* Breadcrumb ellipsis */
  .breadcrumb-current {
    display: inline-block !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: bottom !important;
  }

  /* Stepper & Actions stack */
  form[action*="cart_add"] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .quantity-stepper {
    width: 100% !important;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .quantity-btn {
    flex: 1;
    min-height: 48px !important;
  }
  .quantity-input {
    flex: 2;
    height: 48px !important;
  }
  .product-actions {
    width: 100% !important;
    margin-top: 0 !important;
    gap: 1.25rem !important;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }
  .btn-add-cart-detail,
  .btn-whatsapp-detail {
    min-height: 52px !important;
    font-size: 1rem !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .trust-badge {
    padding: 0.75rem !important;
  }
  .trust-badge-label {
    font-size: 0.75rem !important;
  }
  
  .related-products-header h2 {
    font-size: 1.25rem !important;
  }
}

/* ---- MOBILE: Cart ---- */
/* Desktop Cart Table Design */
table.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
  margin-top: -1rem;
}
table.cart-table th {
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  border: none;
}
table.cart-table tr {
  background: var(--card);
}
table.cart-table td {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  background: var(--card);
}
table.cart-table td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: var(--radius-2xl);
  border-bottom-left-radius: var(--radius-2xl);
}
table.cart-table td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: var(--radius-2xl);
  border-bottom-right-radius: var(--radius-2xl);
}
.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cart-product-img {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-product-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--foreground);
}
.cart-product-price {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}
.cart-qty-form {
  display: flex;
  align-items: center;
  background: var(--background);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  border: 1px solid var(--border);
  width: fit-content;
  margin: 0 auto;
}
.cart-qty-input {
  width: 3.5rem;
  border: none !important;
  background: transparent !important;
  padding: 0.5rem !important;
  text-align: center;
  font-weight: 700;
  box-shadow: none !important;
}
.cart-qty-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.cart-qty-btn:hover {
  transform: rotate(45deg);
}
.cart-subtotal {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--orange);
}
.cart-remove-btn {
  background: rgba(248, 113, 113, 0.1);
  border: none;
  color: #f87171;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-remove-btn:hover {
  background: rgba(248, 113, 113, 0.2);
  color: #ef4444;
}

/* Mobile Cart Grid Layout below 768px */
@media (max-width: 768px) {
  /* Hide desktop table & display mobile cards */
  table.cart-table {
    display: none !important;
  }
  .cart-mobile {
    display: block !important;
  }
  
  /* Main layouts structure reset */
  /* minmax(0, 1fr), not 1fr: a bare 1fr column is never narrower than its widest
     child, so at 375px the checkout cards grew past the screen and the page scrolled
     sideways. */
  section.services .container > div[style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }
  .services {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Mobile card details */
  .cart-mobile-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .cart-mobile-top {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .cart-mobile-img {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
  }
  .cart-mobile-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .cart-mobile-info {
    flex: 1;
    min-width: 0; /* allows text truncation inside flexbox */
  }
  .cart-mobile-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--foreground);
    line-height: 1.35;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
  .cart-mobile-name a {
    color: inherit;
    text-decoration: none;
  }
  .cart-mobile-price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
  }
  
  .cart-mobile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .cart-mobile-qty-form {
    display: flex;
    align-items: center;
  }
  .cart-mobile-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--background);
  }
  .cart-mobile-stepper .quantity-btn {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--muted);
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-mobile-stepper .quantity-input {
    width: 2.5rem;
    height: 2.25rem;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    background: transparent;
    outline: none;
  }
  
  .cart-mobile-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .cart-mobile-subtotal {
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--orange);
  }
  .cart-mobile-remove-btn {
    background: rgba(248, 113, 113, 0.1);
    border: none;
    color: #f87171;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  /* Summary Box mobile resets */
  .services .container > div > div:last-child .contact-info-card {
    padding: 1.5rem !important;
    position: static !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .services .container > div > div:last-child .btn-primary {
    min-height: 56px !important;
    font-size: 1.0625rem !important;
    width: 100% !important;
  }
  .services .container > div > div:last-child .btn-secondary {
    min-height: 52px !important;
    width: 100% !important;
  }
  .services .container > div > div:last-child a[href*="shop_listing"] {
    display: block !important;
    text-align: center !important;
    margin-top: 1rem !important;
    font-size: 0.9375rem !important;
  }
  
  /* Empty cart state */
  .animate-fade-up[style*="text-align: center; padding: 6rem 0;"] {
    padding: 3rem 1rem !important;
    border-radius: var(--radius-2xl) !important;
  }
  .animate-fade-up[style*="text-align: center; padding: 6rem 0;"] h2 {
    font-size: 1.5rem !important;
  }
  .animate-fade-up[style*="text-align: center; padding: 6rem 0;"] p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .animate-fade-up[style*="text-align: center; padding: 6rem 0;"] .btn-primary {
    width: 100% !important;
  }
  
  /* Sticky Mobile checkout bar placement & animation */
  #sticky-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #sticky-checkout-bar.sticky-bar-visible {
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .cart-mobile, #sticky-checkout-bar {
    display: none !important;
  }
}

/* =========================================================
   K2J Tech — Toast Notification & Overhauled Cart Styles
   ========================================================= */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}
.cart-toast--success {
  border-left: 3px solid var(--blue);
}
.cart-toast--error {
  border-left: 3px solid #ef4444;
}
.cart-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
  .cart-toast {
    bottom: 5rem;
  }
}

/* Overhauled Cart Styles */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .cart-layout-grid {
    grid-template-columns: 1.8fr 1.2fr;
  }
}
@media (max-width: 768px) {
  .cart-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cart-items-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-column-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cart-item-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.cart-item-card:hover {
  border-color: var(--blue-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cart-item-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.cart-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.cart-item-name a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}
.cart-item-name a:hover {
  color: var(--blue);
}
.cart-item-price {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cart-item-subtotal {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--orange);
  min-width: 90px;
  text-align: right;
}
.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.cart-item-remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.05);
}
.cart-item-remove-btn svg {
  width: 18px;
  height: 18px;
}

/* Stepper */
.cart-item-actions .quantity-stepper {
  width: 110px !important;
  height: 38px;
  display: flex;
  align-items: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.cart-item-actions .quantity-btn {
  width: 32px !important;
  height: 100% !important;
  min-height: auto !important;
  border: none !important;
  background: var(--muted) !important;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.cart-item-actions .quantity-btn:hover {
  background: var(--border) !important;
}
.cart-item-actions .quantity-input {
  flex: 1;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  background: transparent;
  outline: none;
}

/* Order Summary Box Styles */
.summary-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.summary-item-name-qty {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.summary-item-price {
  font-weight: 500;
}
.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.summary-subtotal-row,
.summary-shipping-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
}

.summary-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.btn-checkout-full {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}
.btn-checkout-full:hover {
  background: var(--navy);
}
.btn-checkout-full:active {
  transform: scale(0.98);
}
.btn-continue-full {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-continue-full:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(30, 64, 175, 0.02);
}

/* Mobile responsive stacked cards */
@media (max-width: 768px) {
  .cart-item-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
  }
  .cart-item-img {
    width: 72px;
    height: 72px;
  }
  .cart-item-actions {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 0.875rem;
  }
  .cart-item-subtotal {
    text-align: right;
    min-width: auto;
  }
  .summary-card {
    position: static !important;
    margin-top: 1rem;
  }
}

/* =========================================================
   PHASE 6: PREMIUM ADVANCED WIDGETS
   ========================================================= */

/* --- Wishlist overlay hearts --- */
.wishlist-heart-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 15;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.wishlist-heart-btn:hover {
  transform: scale(1.1);
  color: #e53e3e;
}
.wishlist-heart-btn.active {
  color: #e53e3e;
  background: #fff;
}
.wishlist-heart-btn svg {
  width: 18px;
  height: 18px;
  transition: fill 0.2s ease;
}
.wishlist-heart-btn.active svg {
  fill: #e53e3e;
}

/* --- Review rating stars selector --- */
.rating-stars-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}
.rating-stars-input input {
  display: none;
}
.rating-stars-input label {
  font-size: 2rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: color 0.15s ease;
  margin: 0;
}
.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label,
.rating-stars-input input:checked ~ label {
  color: #ecc94b;
}

/* --- Recently viewed slider --- */
.recently-viewed-container {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.recently-viewed-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}
.recently-viewed-scroller::-webkit-scrollbar {
  height: 6px;
}
.recently-viewed-scroller::-webkit-scrollbar-thumb {
  background-color: var(--orange);
  border-radius: 6px;
}
.recently-viewed-card {
  flex: 0 0 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.recently-viewed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.recently-viewed-card-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.recently-viewed-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  color: var(--foreground);
}
.recently-viewed-card-price {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 800;
  margin-top: auto;
}

/* =========================================================
   PHASE 6: AUTH & CUSTOMER ACCOUNT SECTIONS (DARK THEME)
   ========================================================= */
.auth-section,
.account-section,
.bg-dark-deep {
  --text-muted: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-image: radial-gradient(circle at top right, rgba(255, 107, 53, 0.12), var(--navy));
  padding: 10rem 0 4rem;
  box-sizing: border-box;
}

.account-section {
  min-height: 100vh;
  background-color: var(--navy);
  background-image: radial-gradient(circle at top right, rgba(255, 107, 53, 0.08), var(--navy));
  padding: 10rem 0 4rem;
  box-sizing: border-box;
}

/* minmax(0, 1fr), not 1fr: a bare 1fr column is never narrower than its widest child,
   so the orders table (min-width 600px) widened the whole page on a phone and it
   scrolled sideways. With a zero minimum the table scrolls inside its own box. */
.account-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   PHASE 8: GLOBAL SEARCH, PRODUCT COMPARISON & BADGES
   ========================================================= */

/* --- Global Search Overlay --- */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#search-close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--orange) !important;
}

#overlay-search-input:focus {
  border-color: var(--blue) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.autocomplete-dropdown {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* --- Floating Comparison Bar --- */
.floating-compare-bar {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(79, 124, 255, 0.3);
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  z-index: 9999;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.compare-toggle-btn {
  transition: all 0.3s ease;
}

.compare-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 124, 255, 0.2);
}

.compare-toggle-btn.compare-added {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}

/* --- Newsletter Signup Stay Updated Section --- */
.newsletter-banner {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 86, 210, 0.05) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 0;
  margin-top: 5rem;
  box-sizing: border-box;
}

.newsletter-form-container {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 1.15rem 9.5rem 1.15rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.newsletter-input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.newsletter-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--orange);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: #f45b24;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

@media (max-width: 600px) {
  .newsletter-input {
    padding: 1.15rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
  }
  .newsletter-btn {
    position: static;
    width: 100%;
    padding: 1.15rem;
    border-radius: 12px;
  }
}

/* Force KBD tags in search overlay and globally to render with clean, high-contrast white styling */
kbd {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-family: monospace !important;
  font-size: 0.85em !important;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25) !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}

/* =========================================================
   PHASE 15: SUBSCRIPTION & PREMIUM INTERACTION STYLES
   ========================================================= */

/* --- Button Focus and Active States --- */
.btn, .header-cta, .btn-admin, .btn-checkout-full, .btn-continue-full, .newsletter-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active, .header-cta:active, .btn-admin:active, .newsletter-btn:active {
  transform: scale(0.96) !important;
  opacity: 0.9 !important;
}

.btn:focus-visible, .header-cta:focus-visible, .btn-admin:focus-visible, .newsletter-btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-light) !important;
  outline-offset: 2px !important;
}


/* --- Subscription Panels --- */
.subscription-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.subscription-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.subscription-product {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.subscription-product img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.subscription-product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.subscription-product-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.subscription-status-box {
  text-align: right;
  font-size: 13px;
}

@media (max-width: 576px) {
  .subscription-status-box {
    text-align: left;
  }
}

.subscription-status-active {
  color: #10b981;
  font-weight: bold;
  background: rgba(16,185,129,0.1);
  padding: 3px 8px;
  border-radius: 20px;
}

.subscription-status-paused {
  color: #f59e0b;
  font-weight: bold;
  background: rgba(245,158,11,0.1);
  padding: 3px 8px;
  border-radius: 20px;
}

.subscription-controls {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.subscription-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-sub-action {
  padding: 5px 10px;
  font-size: 11px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  cursor: pointer;
}

.btn-sub-action:hover {
  background: rgba(255,255,255,0.1);
}

.btn-sub-cancel {
  padding: 5px 12px;
  font-size: 11px;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 6px;
  cursor: pointer;
}

.btn-sub-cancel:hover {
  background: rgba(239,68,68,0.2);
}

/* =========================================================
   ULTRA-PREMIUM SPRINT STYLES
   ========================================================= */

/* Universal Transition System */
.btn, .btn-primary, .btn-secondary, .header-cta, .lang-link, .nav-link, .wishlist-btn-toggle {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:active, .btn-secondary:active, .header-cta:active {
  transform: scale(0.98);
}

/* Announcement Banner */
.announcement-banner {
  background: var(--announcement-bg);
  color: #fff;
  text-align: center;
  padding: 0.5rem 2.5rem;
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1000;
  transition: opacity 0.3s ease;
}
.announcement-dismiss {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.5rem;
}

/* Header Search Trigger & Controls */
.header-search-trigger {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 10px;
  display: flex;
  align-items: center;
}

/* Admin link pill badge */
.header-admin-btn {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.header-logout-btn, .header-register-btn, .header-login-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Icon display none fallback replacement */
.menu-close-icon {
  display: none;
}

/* Glassmorphism Global Search Overlay */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}
.search-close-btn:hover {
  transform: scale(1.1);
}
.search-overlay-container {
  width: 100%;
  max-width: 700px;
  padding: 2rem;
}
.search-input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}
.search-input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.4);
}
.search-input-field {
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #fff;
  font-size: 1.25rem;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.search-input-field:focus {
  border-color: var(--orange);
}
.search-help-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.search-kbd {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Glassmorphism Autocomplete Results Dropdown */
.autocomplete-dropdown {
  display: none;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem;
}

.search-autocomplete-header {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}
.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
  margin-bottom: 0.25rem;
}
.search-autocomplete-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.search-autocomplete-item-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}
.search-autocomplete-item-placeholder {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-autocomplete-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}
.search-autocomplete-item-price {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
}
.search-autocomplete-item-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Shimmer Loading Skeleton State */
.shimmer-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 37%, rgba(255,255,255,0.05) 63%);
  background-size: 400% 100%;
  animation: shimmerAnim 1.4s ease infinite;
}
@keyframes shimmerAnim {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Comparison Bar */
.floating-compare-bar {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(79, 124, 255, 0.3);
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  z-index: 9999;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
.compare-thumbnail-item {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.compare-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-thumbnail-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.compare-bar-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}
.compare-count-lbl {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.compare-now-btn {
  border-radius: 30px;
  font-size: 0.85rem;
  padding: 8px 18px !important;
}
.clear-compare-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Glassmorphic Autodismissing Toast Containers */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(1.5rem);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cart-toast--visible {
  transform: translateY(0);
  opacity: 1;
}
.cart-toast::before {
  content: '';
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 12px 0 0 12px;
}
.cart-toast--success::before { background: #10b981; }
.cart-toast--error::before { background: #ef4444; }

/* Dynamic Layout entry animations (Page transition loader) */
.page-entry-transition {
  animation: pageEntryAnim 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pageEntryAnim {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Flash notifications wrapper styling */
.flash-container {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
}
.flash-msg {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-2xl);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  animation: pageEntryAnim 0.3s ease-out;
  color: #fff;
  position: relative;
}
.flash-success { background: #10b981; }
.flash-error { background: #ef4444; }
.flash-msg-dismiss {
  background: none;
  border: none;
  color: inherit;
  float: right;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  margin-left: 1rem;
}

/* Floating labels Form Elements & Realtime Visual Validation */
.form-floating-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.form-floating-input {
  width: 100%;
  padding: 1.25rem 1rem 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-floating-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--muted-foreground);
  pointer-events: none;
  transition: all 0.2s ease;
}
.form-floating-input:focus ~ .form-floating-label,
.form-floating-input:not(:placeholder-shown) ~ .form-floating-label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: 0.75rem;
  color: var(--orange);
}

.input-success-state {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}
.input-invalid-state {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.validation-helper-msg {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.validation-helper-msg.success { color: #10b981; }
.validation-helper-msg.error { color: #ef4444; }

/* Micro-animations - card transitions */
.recently-viewed-card, .service-card, .product-grid-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.recently-viewed-card:hover, .service-card:hover, .product-grid-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.08) !important;
  border-color: rgba(255, 107, 53, 0.3) !important;
}

/* Touch targets and mobile tables styling */
@media (max-width: 767px) {
  .btn, .btn-primary, .btn-secondary, .header-cta, .lang-link, .nav-link,
  input[type="checkbox"], input[type="radio"], input, button, select, a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Collapsing storefront table layouts */
  .cart-table, .order-table {
    display: block;
    width: 100%;
  }
  .cart-table thead, .order-table thead {
    display: none; /* Hide header columns */
  }
  .cart-table tbody, .order-table tbody {
    display: block;
    width: 100%;
  }
  .cart-table tr, .order-table tr {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .cart-table td, .order-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--muted);
  }
  .cart-table td:last-child, .order-table td:last-child {
    border-bottom: none;
  }
  .cart-table td::before, .order-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted-foreground);
    font-size: 0.8rem;
    text-transform: uppercase;
  }
}

/* ===== Accessibility: honor reduced-motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HEADER — SMALL SCREENS
   .header-actions had no responsive rule at all, so below 1024px the full set of
   buttons (search, languages, cart, admin, account, logout, call) rendered
   alongside the hamburger. At a 390px viewport the row measured 629px and pushed
   the whole page into horizontal scroll.

   Everything hidden here is already present in #mobile-menu, so nothing becomes
   unreachable — the cart stays visible as an icon because it is the one action
   worth a permanent slot in a shop.
   ========================================================================== */
@media (max-width: 1023px) {
  .header-actions > .header-cta:not(.header-search-trigger):not(.header-cart-btn) {
    display: none;
  }

  .header-actions > .lang-switcher {
    display: none;
  }

  /* Cart keeps its icon and count but drops the word, which is the widest part. */
  .header-cart-btn {
    font-size: 0;                 /* hides the text node, keeps the inline svg */
    gap: 0;
    padding: 0.5rem 0.6rem;
  }
  .header-cart-btn svg {
    width: 18px;
    height: 18px;
  }

  .header-actions {
    gap: 0.4rem;
    min-width: 0;
  }
}

/* Language row inside the mobile menu (hidden on desktop, where the header
   switcher is visible instead). */
.mobile-lang-switcher {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-lang-switcher .lang-link {
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ── HOVER STATES ────────────────────────────────────────────────────────────
   These were onmouseover/onmouseout attributes that reassigned element.style.
   A nonce-based CSP makes browsers ignore 'unsafe-inline', so every one of them
   would have stopped firing and the controls would have looked permanently dead.
   Hover is a CSS concern anyway: this also gives keyboard users a focus state,
   which the JS version never had. */

/* Compare: the small × on a product card. */
.compare-remove-chip {
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.compare-remove-chip:hover,
.compare-remove-chip:focus-visible {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* Compare: the full-width Remove button under a card. */
.compare-remove-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  width: 100%;
  text-align: center;
  outline: none;
}
.compare-remove-btn:hover,
.compare-remove-btn:focus-visible {
  background: #ef4444;
  color: #fff;
}

/* Compare: the "browse the shop" call to action on the empty state. */
.compare-empty-btn {
  background: linear-gradient(135deg, var(--orange) 0%, #f97316 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.8rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.1);
}
.compare-empty-btn:hover,
.compare-empty-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Wishlist: the remove button floating over a product image. */
.wishlist-remove-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s;
}
.wishlist-remove-btn:hover,
.wishlist-remove-btn:focus-visible {
  transform: scale(1.1);
}

/* Checkout: the promo-code Apply button. */
.promo-apply-btn {
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  min-height: auto;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s;
}
.promo-apply-btn:hover,
.promo-apply-btn:focus-visible {
  background: var(--border);
}

/* Orders: row highlight on the order history table. */
.order-history-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s;
}
.order-history-row:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* ── Shop pagination ──────────────────────────────────────────────────────────
   The listing is capped at one page of products, so these controls are the only
   route to the rest of the catalogue. Sized for a thumb: 44px targets, and the
   row wraps rather than overflowing at phone width. */
.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.shop-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.shop-pagination-link:hover,
.shop-pagination-link:focus-visible {
  background: var(--muted, rgba(0, 0, 0, 0.04));
  border-color: var(--primary, currentColor);
}

.shop-pagination-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-foreground, #6b7280);
  font-size: 0.9375rem;
}

/* =========================================================
   PRIVACY POLICY
   ========================================================= */
.policy-section {
  background: var(--background);
  padding: 5rem 0 7rem;
}

.policy-content {
  max-width: 52rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl, 1rem);
  background: var(--card);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.06);
}

.policy-updated {
  margin-bottom: 2rem;
  color: var(--slate, #94a3b8);
  font-size: 0.875rem;
  font-weight: 600;
}

.policy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1.3;
}

.policy-content p {
  color: var(--slate, #94a3b8);
  font-size: 1rem;
  line-height: 1.85;
}

.policy-content p + p {
  margin-top: 1rem;
}

.policy-content a {
  color: var(--blue, #38bdf8);
  font-weight: 700;
  text-decoration: none;
}

.policy-content a:hover {
  color: var(--orange, #f97316);
  text-decoration: underline;
}

/* Reviews beside the review form on a wide screen, one above the other on a phone:
   the fixed two columns squeezed the form to 163px and pushed it off a 390px screen. */
.product-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 767px) {
  .product-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* One line of an order's summary on the customer's order page (label left, amount right). */
.order-summary-row { display: flex; justify-content: space-between; color: var(--text-muted); }
.order-summary-value { color: #fff; font-weight: 600; }

/* Checkout: from what amount shipping is free, under the shipping line. */
.checkout-shipping-note {
  margin: -0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Order confirmation page: a line under the items (shipping). */
.order-success-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted-foreground); }
.order-success-value { color: var(--foreground); font-weight: 700; }
.checkout-shipping-value { font-family: monospace; font-weight: 700; font-size: 0.95rem; color: var(--foreground); }
.checkout-shipping-value.is-free { font-family: inherit; font-size: 0.9rem; color: #22c55e; }


/* ===== Drone repair & sales (templates/drone_repair.html) =====
   Carried over from the static site, whose page set these as inline styles. */
.drone-1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.15; }
.drone-2 { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.drone-3 { font-size: 1rem; padding: 0.875rem 1.75rem; }
.drone-4 { font-size: 1rem; padding: 0.875rem 1.75rem; background: rgba(255,255,255,0.08); color: white; border-radius: 9999px; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 0.5rem; }
.drone-5 { margin-top: 2.5rem; }
.drone-6 { margin-top: 3rem; margin-bottom: 2rem; max-width: 68rem; }
.drone-7 { margin: 0; border-radius: var(--radius-2xl); overflow: hidden; max-height: 420px; box-shadow: 0 16px 40px rgba(0,0,0,0.08); position: relative; }
.drone-8 { width:100%; height:420px; object-fit:cover; object-position:center; display:block; }
.drone-9 { position: absolute; bottom: 1.25rem; left: 1.25rem; background: rgba(10, 22, 40, 0.85); backdrop-filter: blur(10px); padding: 0.5rem 1rem; border-radius: 9999px; color: white; font-size: 0.8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.drone-10 { width:8px; height:8px; background:#22c55e; border-radius:50%; }
.drone-11 { padding: 4rem 0; }
.drone-12 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.drone-13 { color: var(--muted-foreground); margin-top: 1rem; font-size: 1rem; }
.drone-14 { background: var(--card); padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.drone-15 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.drone-16 { border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 2rem; background: var(--background); display: flex; flex-direction: column; }
.drone-17 { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; }
.drone-18 { font-size: 1.35rem; font-weight: 800; margin-top: 0.5rem; color: var(--foreground); }
.drone-19 { display: inline-block; margin-top: 0.5rem; padding: 0.25rem 0.625rem; border-radius: var(--radius); background: rgba(0, 86, 210, 0.08); color: var(--blue); font-size: 0.75rem; font-weight: 600; }
.drone-20 { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.65; flex: 1; }
.drone-21 { margin-top: 1.5rem; justify-content: center; font-size: 0.875rem; padding: 0.75rem 1.25rem; border: 1px solid var(--border); background: var(--card); color: var(--foreground); border-radius: 9999px; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.drone-22 { font-size: 0.75rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; }
.drone-23 { display: inline-block; margin-top: 0.5rem; padding: 0.25rem 0.625rem; border-radius: var(--radius); background: rgba(255, 107, 53, 0.1); color: var(--orange); font-size: 0.75rem; font-weight: 600; }
.drone-24 { font-size: 0.75rem; font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: 0.05em; }
.drone-25 { display: inline-block; margin-top: 0.5rem; padding: 0.25rem 0.625rem; border-radius: var(--radius); background: rgba(22, 163, 74, 0.1); color: #16a34a; font-size: 0.75rem; font-weight: 600; }
.drone-26 { margin-top: 3rem; background: linear-gradient(135deg, #0A1628 0%, #162a4a 100%); border-radius: var(--radius-2xl); padding: 2.25rem; color: white; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.drone-27 { max-width: 42rem; }
.drone-28 { font-size: 1.25rem; font-weight: 800; color: white; }
.drone-29 { margin-top: 0.5rem; font-size: 0.9375rem; color: #94a3b8; line-height: 1.6; }
.drone-30 { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
.drone-31 { padding: 5rem 0; }
.drone-32 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.drone-33 { padding: 3.5rem 0; background: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.drone-34 { text-align: center; }
.drone-35 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 1.5rem; }
.drone-36 { display: flex; justify-content: center; gap: 0.75rem 1.25rem; flex-wrap: wrap; align-items: center; max-width: 54rem; margin: 0 auto; }
.drone-37 { font-size: 0.85rem; padding: 0.4rem 0.85rem; background: var(--card); font-weight: 700; color: var(--blue); }
.drone-38 { font-size: 0.85rem; padding: 0.4rem 0.85rem; background: var(--card); font-weight: 700; color: var(--orange); }
.drone-39 { font-size: 0.85rem; padding: 0.4rem 0.85rem; background: var(--card); }
.drone-40 { font-size: 0.85rem; padding: 0.4rem 0.85rem; background: var(--card); font-weight: 700; color: #16a34a; }
.drone-41 { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--orange); border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
.drone-42 { font-size: 0.75rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.1em; }
.drone-43 { font-size: 1.5rem; font-weight: 800; color: var(--foreground); margin-top: 0.5rem; }
.drone-44 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.drone-45 { padding: 1.25rem; background: var(--background); border-radius: var(--radius); }
.drone-46 { font-size: 1rem; font-weight: 700; color: #dc2626; }
.drone-47 { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.35rem; line-height: 1.55; }
.drone-48 { font-size: 1rem; font-weight: 700; color: var(--blue); }
.drone-49 { font-size: 1rem; font-weight: 700; color: #16a34a; }
.drone-50 { padding: 0 0 5rem; }
.drone-51 { border: 1px solid rgba(0, 86, 210, 0.2); background: rgba(0, 86, 210, 0.04); border-radius: var(--radius-2xl); padding: 2rem 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.drone-52 { max-width: 44rem; }
.drone-53 { font-size: 1.25rem; font-weight: 800; color: var(--foreground); }
.drone-54 { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.6; }
.drone-55 { padding: 0.75rem 1.35rem; font-size: 0.875rem; }
.drone-56 { background: var(--background); padding: 4rem 0 6rem; }
.drone-57 { max-width: 60rem; margin: 0 auto; }


/* ===== From the static site (September 2026): the drone spotlight, FAQ cards, the blog
   posts' quick answers and FAQs, footer legal links and centred section headers. ===== */
.section-header[style*="text-align: center"] .section-title,
.section-header[style*="text-align:center"] .section-title,
.section-header[style*="align-items: center"] .section-title,
.section-header[style*="align-items:center"] .section-title,
.section-header.text-center .section-title,
.section-header-center .section-title {margin-left: auto;
  margin-right: auto;
  max-width: 48rem;}
.section-header[style*="text-align: center"] > div,
.section-header[style*="text-align:center"] > div,
.section-header[style*="align-items: center"] > div,
.section-header[style*="align-items:center"] > div,
.section-header.text-center > div,
.section-header-center > div {display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;}
.drone-spotlight-banner {margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;}
.drone-spotlight-banner:hover {border-color: rgba(0, 86, 210, 0.3);
  box-shadow: 0 16px 48px rgba(0, 86, 210, 0.06);}
@media (min-width: 992px) {
  .drone-spotlight-banner {grid-template-columns: 1.25fr 1fr;
    padding: 2.75rem 3rem;
    gap: 3rem;}
}
.drone-spotlight-badge {display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background: rgba(0, 86, 210, 0.08);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;}
.drone-spotlight-badge svg {width: 1rem;
  height: 1rem;}
.drone-spotlight-title {font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.25;}
.drone-spotlight-desc {margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);}
.drone-spotlight-features {display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;}
.drone-spotlight-tag {display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  background: var(--muted);
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--foreground);}
.drone-spotlight-tag svg {width: 0.875rem;
  height: 0.875rem;
  color: var(--orange);}
.drone-spotlight-actions {display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;}
.drone-spotlight-actions .btn-primary {padding: 0.75rem 1.5rem;
  font-size: 0.875rem;}
.drone-spotlight-actions .btn-secondary {padding: 0.75rem 1.35rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  border: 1px solid var(--border);
  background: var(--muted);
  border-radius: var(--radius-full);
  text-decoration: none;}
.drone-spotlight-actions .btn-secondary:hover {background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--foreground);}
.drone-spotlight-actions .btn-secondary svg {color: #16a34a;}
.drone-spotlight-media {position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 10;
  background: var(--muted);}
.drone-spotlight-media img {width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;}
.drone-spotlight-banner:hover .drone-spotlight-media img {transform: scale(1.03);}
.drone-spotlight-media-badge {position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;}
.footer-legal-link {display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  color: var(--secondary-foreground);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;}
.footer-legal-link:hover {color: var(--orange-light);}
.footer-bottom-links {display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;}
@media (min-width: 640px) {
  .footer-bottom-links {justify-content: flex-start;}
}
.article-quick-answer {margin: 1.75rem 0 2.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-2xl, 1rem);
  background: linear-gradient(135deg, rgba(0, 86, 210, 0.06), rgba(0, 198, 255, 0.04));
  border: 1px solid rgba(0, 86, 210, 0.22);
  border-left: 5px solid var(--blue, #0056D2);}
.article-quick-answer-badge {display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue, #0056D2);
  margin-bottom: 0.5rem;}
.article-quick-answer p {font-size: 1rem;
  line-height: 1.7;
  color: var(--foreground, #0A1628);
  margin-bottom: 0;}
.article-faq {margin: 2.5rem 0;}
.faq-card {background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius-xl, 0.75rem);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.02);}
.faq-card h3,
.faq-card h4 {font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground, #0A1628);
  margin-bottom: 0.5rem;}
.faq-card p {font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground, #475569);
  margin-bottom: 0;}
.about,
.gallery,
.location,
.faq,
.contact,
.footer,
.related-posts,
.comments-section {content-visibility: auto;
  contain-intrinsic-size: auto 600px;}


/* ===== Sections carried over from the static site (September 2026), which set these as
   inline styles. ===== */
/* Phone repair: turnaround times, supported phones, FAQ and the brands we repair (templates/static_site/phone_repair_more.html) */
.pr-1 { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pr-2 { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.pr-3 { color: var(--muted-foreground); margin-top: 0.75rem; }
.pr-4 { font-size: 0.85rem; color: var(--muted-foreground); }
.pr-5 { padding: 4.5rem 0; }
.pr-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.pr-7 { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; background: var(--card); }
.pr-8 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.pr-9 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(0, 86, 210, 0.1); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.pr-10 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.pr-11 { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.pr-12 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(255, 107, 53, 0.1); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.pr-13 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(22, 163, 74, 0.1); display: flex; align-items: center; justify-content: center; color: #16a34a; }
.pr-14 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(168, 85, 247, 0.1); display: flex; align-items: center; justify-content: center; color: #a855f7; }
.pr-15 { margin-top: 3rem; background: linear-gradient(135deg, #0A1628 0%, #162a4a 100%); border-radius: var(--radius-2xl); padding: 2.25rem; color: white; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pr-16 { max-width: 44rem; }
.pr-17 { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #38bdf8; margin-bottom: 0.5rem; }
.pr-18 { font-size: 1.35rem; font-weight: 800; color: white; margin: 0 0 0.5rem; }
.pr-19 { font-size: 0.9375rem; color: #94a3b8; line-height: 1.6; margin: 0; }
.pr-20 { padding: 0.875rem 1.5rem; font-size: 0.9375rem; white-space: nowrap; }
.pr-21 { background: var(--background); padding: 4rem 0 6rem; border-top: 1px solid var(--border); }
.pr-22 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.pr-23 { max-width: 60rem; margin: 0 auto; }
.pr-24 { padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 2rem; }
.pr-25 { text-align: center; }
.pr-26 { font-size: 1.5rem; margin-bottom: 2rem; color: var(--foreground); }
.pr-27 { display: flex; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; opacity: 0.7; }
.pr-28 { font-size: 1.25rem; font-weight: bold; margin: 0; }
.pr-29 { color: var(--primary); }

/* Computer repair: turnaround times, supported computers, FAQ and the brands we repair (templates/static_site/computer_repair_more.html) */
.cr-1 { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cr-2 { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.cr-3 { color: var(--muted-foreground); margin-top: 0.75rem; }
.cr-4 { font-size: 0.85rem; color: var(--muted-foreground); }
.cr-5 { padding: 4.5rem 0; }
.cr-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.cr-7 { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; background: var(--card); }
.cr-8 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.cr-9 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(0, 86, 210, 0.1); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.cr-10 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.cr-11 { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.cr-12 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(255, 107, 53, 0.1); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.cr-13 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(22, 163, 74, 0.1); display: flex; align-items: center; justify-content: center; color: #16a34a; }
.cr-14 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(168, 85, 247, 0.1); display: flex; align-items: center; justify-content: center; color: #a855f7; }
.cr-15 { margin-top: 3rem; background: linear-gradient(135deg, #0A1628 0%, #162a4a 100%); border-radius: var(--radius-2xl); padding: 2.25rem; color: white; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cr-16 { max-width: 44rem; }
.cr-17 { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #38bdf8; margin-bottom: 0.5rem; }
.cr-18 { font-size: 1.35rem; font-weight: 800; color: white; margin: 0 0 0.5rem; }
.cr-19 { font-size: 0.9375rem; color: #94a3b8; line-height: 1.6; margin: 0; }
.cr-20 { padding: 0.875rem 1.5rem; font-size: 0.9375rem; white-space: nowrap; }
.cr-21 { background: var(--background); padding: 4rem 0 6rem; border-top: 1px solid var(--border); }
.cr-22 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.cr-23 { max-width: 60rem; margin: 0 auto; }
.cr-24 { padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 2rem; }
.cr-25 { text-align: center; }
.cr-26 { font-size: 1.5rem; margin-bottom: 2rem; color: var(--foreground); }
.cr-27 { display: flex; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; opacity: 0.7; }
.cr-28 { font-size: 1.25rem; font-weight: bold; margin: 0; }
.cr-29 { color: var(--primary); }

/* Accessories: the accessories guide and FAQ (templates/static_site/accessories_more.html) */
.acc-1 { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 3rem; }
.acc-2 { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.acc-3 { color: var(--muted-foreground); margin-top: 0.75rem; }
.acc-4 { font-size: 0.85rem; color: var(--muted-foreground); }
.acc-5 { margin-top: 3rem; background: linear-gradient(135deg, #0A1628 0%, #162a4a 100%); border-radius: var(--radius-2xl); padding: 2.25rem; color: white; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.acc-6 { max-width: 44rem; }
.acc-7 { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #38bdf8; margin-bottom: 0.5rem; }
.acc-8 { font-size: 1.35rem; font-weight: 800; color: white; margin: 0 0 0.5rem; }
.acc-9 { font-size: 0.9375rem; color: #94a3b8; line-height: 1.6; margin: 0; }
.acc-10 { padding: 0.875rem 1.5rem; font-size: 0.9375rem; white-space: nowrap; }
.acc-11 { background: var(--background); padding: 4rem 0 6rem; border-top: 1px solid var(--border); }
.acc-12 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.acc-13 { max-width: 60rem; margin: 0 auto; }

/* Contact: the store maps, walk-in directions and visiting FAQ (templates/static_site/contact_more.html) */
.ct-1 { border:0; }
.ct-2 { display: none; }
.ct-3 { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ct-4 { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.ct-5 { color: var(--muted-foreground); margin-top: 0.75rem; }
.ct-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.ct-7 { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; background: var(--background); }
.ct-8 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.ct-9 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(0, 86, 210, 0.1); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.ct-10 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.ct-11 { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.ct-12 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(255, 107, 53, 0.1); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.ct-13 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(22, 163, 74, 0.1); display: flex; align-items: center; justify-content: center; color: #16a34a; }
.ct-14 { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(168, 85, 247, 0.1); display: flex; align-items: center; justify-content: center; color: #a855f7; }
.ct-15 { background: var(--background); padding: 4rem 0 6rem; border-top: 1px solid var(--border); }
.ct-16 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.ct-17 { max-width: 60rem; margin: 0 auto; }

/* Shop: from the static /buy-devices/ page, which now forwards to the shop: devices we sell, why shop with us and the buying FAQ (templates/static_site/shop_more.html) */
.bd-1 { padding-bottom:3rem; }
.bd-2 { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.bd-3 { color: var(--muted-foreground); margin-top: 1rem; }
.bd-4 { padding: 2rem 0 3rem; }
.bd-5 { text-align: center; }
.bd-6 { font-size: 1.5rem; margin-bottom: 2rem; color: var(--foreground); }
.bd-7 { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; text-align: left; max-width: 900px; margin: 0 auto; }
.bd-8 { flex: 1; min-width: 250px; }
.bd-9 { display: flex; align-items: center; gap: 0.5rem; color: var(--primary); margin: 0; }
.bd-10 { color: var(--muted-foreground); margin-top: 0.5rem; line-height: 1.6; }
.bd-11 { padding:2rem 0 6rem; }
.bd-12 { text-align:center;max-width:800px;margin:0 auto 3rem; }
.bd-13 { color:var(--muted-foreground);margin-top:1rem; }

/* Home: the DJI drone spotlight in the services section (templates/static_site/home_drones.html) */
.hd-1 { width:7px;height:7px;background:#22c55e;border-radius:50%;display:inline-block; }

/* The static site's centred section headings, stacked as they were meant to be: there, on
   wide screens, the label, heading and text came out side by side in three columns. */
.acc-2,
.cr-2,
.ct-4,
.pr-2 {
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   HEADER — EVERY WORD ON ONE LINE
   In Albanian, Italian and French the header holds ~1,310px of links and buttons
   in a 1,216px row, so "Rreth Nesh" and "Telefono Tani" broke onto two lines and
   the buttons grew tall — at every screen width. Words now never wrap; from 1280px
   the spacing is a little tighter so all four languages fit, and between 1024px and
   1279px the header uses the menu button as phones do (everything hidden here is in
   #mobile-menu).
   ========================================================================== */
.nav-link,
.header-cta {
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu.open { display: block !important; }
  .header-actions > .header-cta:not(.header-search-trigger):not(.header-cart-btn) {
    display: none;
  }
}

@media (min-width: 1280px) {
  .desktop-nav { gap: 0.125rem; }
  .nav-link { padding: 0.5rem 0.55rem; }
  .header-actions { gap: 0.4rem; }
  .header-cta { padding: 0.625rem 0.85rem; }
  .lang-link { padding: 0.25rem 0.3rem; }
}

/* Signed in, the header also holds Admin, the account and Logout: below 1536px they
   show as icons (their names stay as the tooltip and for screen readers). */
@media (min-width: 1024px) and (max-width: 1535px) {
  .header-icon-narrow { gap: 0; padding-left: 0.7rem; padding-right: 0.7rem; }
  .header-icon-narrow .header-cta-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
