/**
 * SIMNA WORLD - Modern Corporate & Trustworthy Design System
 * Theme Slug: industrial_ecommerce
 * Author: SIMNA WORLD Engineering
 * Version: 2.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

/* ── Base Variables & Tokens ── */
:root {
  --simna-primary: #144272;
  --simna-primary-rgb: 20, 66, 114;
  --simna-primary-hover: #0E335B;
  --simna-brand-blue: #1E60BC;
  --simna-brand-light: #EBF3FC;
  
  --simna-teal: #00A896;
  --simna-teal-light: #E6F7F5;
  --simna-teal-hover: #008F80;
  
  --simna-magenta: #A82276;
  --simna-magenta-light: #FBEAF3;
  
  --simna-green: #16A34A;
  --simna-green-light: #DCFCE7;
  
  --simna-navy-dark: #0A2647;
  --simna-navy-card: #0F172A;
  
  --simna-slate-50: #F8FAFC;
  --simna-slate-100: #F1F5F9;
  --simna-slate-200: #E2E8F0;
  --simna-slate-300: #CBD5E1;
  --simna-slate-600: #475569;
  --simna-slate-700: #334155;
  --simna-slate-800: #1E293B;
  --simna-slate-900: #0F172A;

  --simna-radius-sm: 8px;
  --simna-radius-md: 12px;
  --simna-radius-lg: 16px;
  --simna-radius-xl: 20px;
  --simna-radius-full: 9999px;

  --simna-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --simna-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --simna-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --simna-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --simna-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body);
  color: var(--simna-slate-800);
  background-color: var(--simna-slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* ── Glassmorphism & Header Accents ── */
.simna-glass-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.simna-nav-strip {
  background: var(--simna-navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Interactive Search Box (Flipkart Style) ── */
.simna-search-wrapper {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.simna-search-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(30, 96, 188, 0.25), 0 4px 12px rgba(15, 23, 42, 0.1);
  border-color: var(--simna-brand-blue) !important;
}

/* ── Buttons System ── */
.btn-simna-primary {
  background-color: var(--simna-primary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--simna-radius-md);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
}

.btn-simna-primary:hover {
  background-color: var(--simna-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--simna-shadow-md);
}

.btn-simna-secondary {
  background-color: var(--simna-brand-blue);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--simna-radius-md);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-simna-secondary:hover {
  background-color: #154E9B;
  transform: translateY(-1px);
  box-shadow: var(--simna-shadow-sm);
}

.btn-simna-outline {
  background-color: #ffffff;
  color: var(--simna-primary) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1.5px solid var(--simna-slate-200);
  border-radius: var(--simna-radius-md);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-simna-outline:hover {
  border-color: var(--simna-primary);
  background-color: var(--simna-brand-light);
  color: var(--simna-primary) !important;
}

.btn-simna-rfq {
  background: linear-gradient(135deg, #00A896 0%, #0284C7 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--simna-radius-md);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 168, 150, 0.25);
}

.btn-simna-rfq:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 168, 150, 0.35);
}

.btn-simna-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--simna-radius-md);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-simna-whatsapp:hover {
  background-color: #1EBE5D;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ── Bespoke SIMNA V2 Product Card ── */
.simna-v2-card {
  background: #ffffff;
  border: 1px solid var(--simna-slate-200);
  border-radius: var(--simna-radius-xl);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

.simna-v2-card:hover {
  border-color: var(--simna-brand-blue);
  box-shadow: 0 20px 30px -10px rgba(20, 66, 114, 0.16), 0 8px 12px -6px rgba(20, 66, 114, 0.08);
  transform: translateY(-4px);
}

.simna-stage-box {
  background-color: #fbfcfd;
  background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.simna-stage-box a {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.simna-stage-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.08));
}

.simna-v2-card:hover .simna-stage-box img {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 12px 16px rgba(15, 23, 42, 0.14));
}

#main-product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.simna-mpn-btn {
  transition: all 0.2s ease;
}

.simna-mpn-btn:hover {
  border-color: var(--simna-brand-blue);
  background-color: var(--simna-brand-light);
}

/* Backward compatibility for legacy product-card */
.simna-product-card {
  composes: simna-v2-card;
}

/* ── Badges ── */
.simna-badge-condition {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--simna-radius-full);
}

.simna-badge-new {
  background: var(--simna-brand-light);
  color: var(--simna-brand-blue);
  border: 1px solid rgba(30, 96, 188, 0.2);
}

.simna-badge-surplus {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.simna-badge-marine {
  background: var(--simna-teal-light);
  color: var(--simna-teal);
  border: 1px solid rgba(0, 168, 150, 0.25);
}

.simna-badge-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--simna-green);
}

.simna-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--simna-green);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* ── Trust Pillars & Feature Strips ── */
.simna-trust-bar {
  background: #ffffff;
  border: 1px solid var(--simna-slate-200);
  border-radius: var(--simna-radius-lg);
  box-shadow: var(--simna-shadow-sm);
}

.simna-trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.simna-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--simna-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Continuous Marquee Ticker ── */
@keyframes simnaMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.simna-marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: simnaMarquee 26s linear infinite;
  will-change: transform;
}

.simna-marquee-track:hover {
  animation-play-state: paused;
}

/* ── Form Inputs (Corporate Precision) ── */
.form-input-simna {
  width: 100%;
  border: 1.5px solid var(--simna-slate-200);
  border-radius: var(--simna-radius-md);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--simna-slate-900);
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-input-simna:focus {
  outline: none;
  border-color: var(--simna-brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 96, 188, 0.15);
}

/* ── Accessibility & Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BESPOKE HOMEPAGE LAYOUT COMPONENTS (SIMNA WORLD)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Command Center Hero */
.simna-command-hero {
  background: radial-gradient(circle at 15% 20%, #144272 0%, #071527 50%, #030a14 100%);
  position: relative;
  overflow: hidden;
}

.simna-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* 2. Interactive Part Finder Console Tabs */
.simna-finder-tab {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--simna-radius-md) var(--simna-radius-md) 0 0;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.simna-finder-tab.is-active {
  background: #ffffff;
  color: var(--simna-primary);
  border-color: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

/* 3. Hero Rotating Hardware Spotlight Card */
.simna-spotlight-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--simna-radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.simna-spotlight-card:hover {
  border-color: rgba(0, 168, 150, 0.5);
  box-shadow: 0 30px 60px -12px rgba(0, 168, 150, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 4. Core Solution Portals (4 Major Industrial & Marine Domains) */
.simna-portal-card {
  background: #ffffff;
  border: 1px solid var(--simna-slate-200);
  border-radius: var(--simna-radius-xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.simna-portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--simna-primary), var(--simna-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.simna-portal-card:hover {
  border-color: var(--simna-brand-blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(20, 66, 114, 0.14);
}

.simna-portal-card:hover::before {
  opacity: 1;
}

/* 5. Catalog Live Category & View Switcher */
.simna-catalog-pill {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--simna-radius-full);
  background: var(--simna-slate-100);
  color: var(--simna-slate-700);
  border: 1px solid var(--simna-slate-200);
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.simna-catalog-pill:hover,
.simna-catalog-pill.is-active {
  background: var(--simna-primary);
  color: #ffffff;
  border-color: var(--simna-primary);
  box-shadow: 0 4px 12px rgba(20, 66, 114, 0.25);
}

/* 6. Dual-Hub Global Logistics Visualizer */
.simna-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--simna-radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 7. Dynamic Multimedia Hero Slider (Images / Videos / YouTube / Banners) */
#simna-hero-carousel {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(7, 21, 39, 0.7);
  background: #071527;
}

.simna-slides-container {
  position: relative;
  width: 100%;
}

.simna-slide-item {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.simna-slide-item.is-active {
  opacity: 1 !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  transform: translateX(0) scale(1) !important;
}

.simna-slide-item.is-hidden {
  opacity: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  transform: translateX(12px) scale(0.99) !important;
}

.simna-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.simna-slide-dot {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* 8. Bespoke Command Bridge Dual-Cockpit Components */
.simna-terminal-box {
  background: linear-gradient(180deg, rgba(15, 29, 51, 0.95) 0%, rgba(7, 21, 39, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(7, 21, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.simna-slide-nav-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.simna-slide-nav-pill.is-active {
  background: #00A896 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.4);
  border-color: #00A896 !important;
}

.simna-slide-nav-pill.is-active span.dot-indicator {
  background: #ffffff !important;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.simna-hero-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 25;
}

.simna-hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1E60BC, #00A896);
  transition: width 0.1s linear;
}

.simna-hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(0, 168, 150, 0.6);
  pointer-events: none;
  z-index: 20;
}

/* ══════════════════════════════════════════════════════════════════════════════
   9. INDUSTRIAL E-COMMERCE UPGRADED FORM DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Form Labels & Helper Text ── */
label,
.form-label-stitch {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #334155;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

label:has(+ input:focus),
label:has(+ select:focus),
label:has(+ textarea:focus),
label:has(+ .form-input-stitch:focus) {
  color: var(--simna-brand-blue, #1E60BC);
}

.form-helper-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #64748B;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* ── Precision Text Inputs & Textareas ── */
input[type="text"]:not(.simna-search-input):not(.otp-digit-stitch),
input[type="email"],
input[type="password"],
input[type="number"]:not(.cart-qty):not(#qty):not(.stepper-qty),
input[type="tel"]:not(.otp-digit-stitch),
input[type="url"],
input[type="search"]:not(.simna-search-input),
input[type="date"],
textarea,
.form-input-stitch,
.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #0F172A;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--simna-radius-md, 12px);
  padding: 0.65rem 0.95rem;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

/* Compact modifier */
.form-input-sm,
input.text-xs.form-input-stitch {
  padding: 0.5rem 0.8rem !important;
  font-size: 0.78125rem !important;
  border-radius: 9px !important;
}

/* Hover State */
input[type="text"]:not(.simna-search-input):not(.otp-digit-stitch):hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:not(.cart-qty):not(#qty):not(.stepper-qty):hover,
input[type="tel"]:not(.otp-digit-stitch):hover,
input[type="url"]:hover,
input[type="search"]:not(.simna-search-input):hover,
input[type="date"]:hover,
textarea:hover,
.form-input-stitch:hover,
.form-control:hover {
  border-color: #94A3B8;
  background-color: #F8FAFC;
  box-shadow: 0 2px 5px 0 rgba(15, 23, 42, 0.06);
}

/* Focus State: High-Tech Blue Precision Glow */
input[type="text"]:not(.simna-search-input):not(.otp-digit-stitch):focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:not(.cart-qty):not(#qty):not(.stepper-qty):focus,
input[type="tel"]:not(.otp-digit-stitch):focus,
input[type="url"]:focus,
input[type="search"]:not(.simna-search-input):focus,
input[type="date"]:focus,
textarea:focus,
.form-input-stitch:focus,
.form-control:focus {
  outline: none !important;
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3.5px rgba(30, 96, 188, 0.18), 0 2px 8px 0 rgba(15, 23, 42, 0.08) !important;
}

/* Disabled & Readonly */
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="number"]:disabled,
input[type="tel"]:disabled,
input[type="url"]:disabled,
input[type="search"]:disabled,
input[type="date"]:disabled,
textarea:disabled,
.form-input-stitch:disabled,
input[readonly]:not(#inq-product-display):not(#notify_product_display):not(.otp-digit-stitch),
textarea[readonly] {
  background-color: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #64748B !important;
  cursor: not-allowed;
  opacity: 0.85;
  box-shadow: none !important;
}

/* Placeholder Styling */
::placeholder,
.form-input-stitch::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  font-size: 0.8125rem !important;
}

/* Textarea Specifics */
textarea,
.form-input-stitch[rows] {
  min-height: 105px;
  line-height: 1.6;
  resize: vertical;
}

/* ── Quantity Steppers (Cart & Product Details) ── */
.cart-qty,
#qty,
.stepper-qty {
  width: 3.25rem !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: #0F172A !important;
  padding: 0.25rem !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
}

.cart-qty::-webkit-inner-spin-button,
.cart-qty::-webkit-outer-spin-button,
#qty::-webkit-inner-spin-button,
#qty::-webkit-outer-spin-button,
.stepper-qty::-webkit-inner-spin-button,
.stepper-qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.cart-qty:focus,
#qty:focus,
.stepper-qty:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ── High-Security OTP Verification Inputs ── */
.otp-digit-stitch {
  width: 2.85rem !important;
  height: 3.25rem !important;
  text-align: center !important;
  font-family: var(--font-mono) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  background-color: #F8FAFC !important;
  border: 1.6px solid #CBD5E1 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.otp-digit-stitch:hover {
  border-color: #94A3B8 !important;
  background-color: #FFFFFF !important;
}

.otp-digit-stitch:focus {
  outline: none !important;
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3.5px rgba(30, 96, 188, 0.2), 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px);
}

/* ── Modern Industrial File Inputs ── */
input[type="file"].form-input-stitch,
input[type="file"] {
  padding: 0.4rem 0.5rem !important;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  color: #475569;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  background-color: var(--simna-primary, #144272);
  color: #FFFFFF;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: background-color 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background-color: var(--simna-primary-hover, #0E335B);
}

/* ── Custom Industrial Select Dropdowns ── */
select:not(.currency-selector),
.form-select-stitch,
select.form-input-stitch {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #0F172A;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--simna-radius-md, 12px);
  padding: 0.65rem 2.6rem 0.65rem 0.95rem;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231E60BC'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.875rem center !important;
  background-size: 1.15rem 1.15rem !important;
  cursor: pointer;
}

select:not(.currency-selector):hover,
.form-select-stitch:hover,
select.form-input-stitch:hover {
  border-color: #94A3B8;
  background-color: #F8FAFC;
  box-shadow: 0 2px 5px 0 rgba(15, 23, 42, 0.06);
}

select:not(.currency-selector):focus,
.form-select-stitch:focus,
select.form-input-stitch:focus {
  outline: none !important;
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3.5px rgba(30, 96, 188, 0.18), 0 2px 8px 0 rgba(15, 23, 42, 0.08) !important;
}

select:not(.currency-selector) option {
  color: #0F172A;
  background-color: #FFFFFF;
  padding: 0.5rem;
}

/* Country Code Prefix Select Alignment */
select.rounded-r-none {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: none !important;
  padding-right: 1.65rem !important;
  background-position: right 0.35rem center !important;
}
input.rounded-l-none {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Currency Selector reset */
.currency-selector {
  background-image: none !important;
  padding-right: 0.5rem !important;
}

/* ── Custom Industrial Checkboxes ── */
input[type="checkbox"],
.form-checkbox-stitch {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 1.2rem !important;
  height: 1.2rem !important;
  min-width: 1.2rem !important;
  min-height: 1.2rem !important;
  border: 1.6px solid #CBD5E1 !important;
  border-radius: 6px !important;
  background-color: #FFFFFF !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  display: inline-grid !important;
  place-content: center !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Checkbox Hover */
input[type="checkbox"]:hover,
.form-checkbox-stitch:hover {
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #F8FAFC !important;
  transform: translateY(-0.5px);
  box-shadow: 0 2px 5px rgba(30, 96, 188, 0.12) !important;
}

/* Checkbox Focus */
input[type="checkbox"]:focus,
.form-checkbox-stitch:focus {
  outline: none !important;
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  box-shadow: 0 0 0 3.5px rgba(30, 96, 188, 0.22) !important;
}

/* Checkbox Checked */
input[type="checkbox"]:checked,
.form-checkbox-stitch:checked {
  background-color: var(--simna-primary, #144272) !important;
  border-color: var(--simna-primary, #144272) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.739a.75.75 0 0 1 1.04-.208Z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: 80% 80% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  box-shadow: 0 2px 6px rgba(20, 66, 114, 0.3) !important;
}

/* Checkbox Disabled */
input[type="checkbox"]:disabled,
.form-checkbox-stitch:disabled {
  background-color: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  cursor: not-allowed !important;
  opacity: 0.65;
}

/* ── Custom Industrial Radio Buttons ── */
input[type="radio"],
.form-radio-stitch {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
  min-height: 1.25rem !important;
  border: 1.6px solid #CBD5E1 !important;
  border-radius: 9999px !important;
  background-color: #FFFFFF !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  display: inline-grid !important;
  place-content: center !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Radio Hover */
input[type="radio"]:hover,
.form-radio-stitch:hover {
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #F8FAFC !important;
  transform: translateY(-0.5px);
  box-shadow: 0 2px 5px rgba(30, 96, 188, 0.12) !important;
}

/* Radio Focus */
input[type="radio"]:focus,
.form-radio-stitch:focus {
  outline: none !important;
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  box-shadow: 0 0 0 3.5px rgba(30, 96, 188, 0.25) !important;
}

/* Radio Checked: High-Precision Central Dot */
input[type="radio"]:checked,
.form-radio-stitch:checked {
  border-color: var(--simna-primary, #144272) !important;
  background-color: #FFFFFF !important;
  border-width: 5px !important;
  box-shadow: 0 0 0 2px rgba(30, 96, 188, 0.16), 0 2px 6px rgba(20, 66, 114, 0.25) !important;
}

/* Radio Disabled */
input[type="radio"]:disabled,
.form-radio-stitch:disabled {
  background-color: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  cursor: not-allowed !important;
  opacity: 0.65;
}

/* Radio Card Option Wrapper (e.g. Checkout Payment Options) */
label:has(input[type="radio"]:checked),
.simna-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--simna-brand-blue, #1E60BC) !important;
  background-color: #F0F6FF !important;
  box-shadow: 0 4px 12px rgba(30, 96, 188, 0.1) !important;
}

/* ── Filter Page Category/Brand Checklist Items ── */
.filter-check-item {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.filter-check-item:hover {
  background-color: #F1F5F9;
}

.filter-check-item.is-active,
.filter-check-item:has(input[type="checkbox"]:checked) {
  background-color: #EBF3FC !important;
  font-weight: 600 !important;
}

.filter-check-item.is-active .filter-check-label,
.filter-check-item:has(input[type="checkbox"]:checked) .filter-check-label {
  color: var(--simna-primary, #144272) !important;
  font-weight: 600 !important;
}

/* ── Form Button Aliases ── */
.btn-stitch,
.btn-stitch-primary {
  background-color: var(--simna-primary, #144272);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--simna-radius-md, 12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-stitch:hover,
.btn-stitch-primary:hover {
  background-color: var(--simna-primary-hover, #0E335B);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 66, 114, 0.3);
}

.btn-stitch:active,
.btn-stitch-primary:active {
  transform: translateY(0);
}

.btn-stitch-secondary {
  background-color: var(--simna-brand-blue, #1E60BC);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--simna-radius-md, 12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-stitch-secondary:hover {
  background-color: #154E9B;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 96, 188, 0.3);
}

.btn-stitch-outline {
  background-color: #FFFFFF;
  color: var(--simna-primary, #144272) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1.5px solid var(--simna-slate-300, #CBD5E1);
  border-radius: var(--simna-radius-md, 12px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-stitch-outline:hover {
  border-color: var(--simna-primary, #144272);
  background-color: var(--simna-brand-light, #EBF3FC);
  color: var(--simna-primary, #144272) !important;
}

.btn-stitch-accent {
  background: linear-gradient(135deg, #00A896 0%, #0284C7 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--simna-radius-md, 12px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
  border: none;
  cursor: pointer;
}

.btn-stitch-accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 168, 150, 0.35);
}

/* ── Validation States ── */
.is-invalid,
.form-input-stitch.is-invalid,
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

.is-valid,
.form-input-stitch.is-valid {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
}

.form-error-feedback {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #DC2626;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
