/* ==========================================================================
   SQUINAL PRODUCTS DIRECTORY — PROFESSIONAL ENTERPRISE SAAS SUITE LAYOUT
   ========================================================================== */

:root {
  --sq-brand-btn: #0066cc;
  --sq-brand-btn-hover: #0052a3;
  --sq-text-title: #0f172a;
  --sq-text-body: #334155;
  --sq-text-muted: #64748b;
  --sq-font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sq-products-page {
  font-family: var(--sq-font-main) !important;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Full Viewport Card with pbg background */
.sq-main-fixed-card {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 110px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Container aligned with Navbar Logo (left spacing matched) */
.sq-compact-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

@media (max-width: 1200px) {
  .sq-compact-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .sq-compact-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .sq-main-fixed-card {
    padding-top: 95px;
    padding-bottom: 40px;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .sq-compact-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Top Page Title & Professional Underline */
.sq-title-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.sq-simple-page-title {
  font-family: var(--sq-font-main) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
  word-spacing: normal !important;
  line-height: 1.2 !important;
  margin: 0 0 6px 0 !important;
}

.sq-title-accent-line {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 3px;
  display: block;
}

/* Main Split Layout: Left Scrollable Products + Right Fixed Flagship Cards */
.sq-zoho-split-wrap {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1140px) {
  .sq-zoho-split-wrap {
    flex-direction: column;
  }
}

/* LEFT COLUMN: SCROLLABLE PRODUCT SUITES */
.sq-left-products-scroll {
  flex: 1;
  max-height: 590px;
  overflow-y: auto;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (max-width: 1140px) {
  .sq-left-products-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* Custom Clean Scrollbar for Left Column */
.sq-left-products-scroll::-webkit-scrollbar {
  width: 5px;
}
.sq-left-products-scroll::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6);
  border-radius: 4px;
}
.sq-left-products-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.sq-left-products-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Category Group & Professional Header */
.sq-cat-group {
  display: flex;
  flex-direction: column;
}

.sq-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sq-cat-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sq-cat-icon {
  font-size: 14px;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sq-cat-heading {
  font-family: var(--sq-font-main) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}

.sq-cat-divider-line {
  flex-grow: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Cards Grid inside each Category */
.sq-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 920px) {
  .sq-category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .sq-category-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact Pastel Product Cards */
.sq-pastel-card {
  border-radius: 10px;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sq-pastel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -4px rgba(15, 23, 42, 0.08);
}

/* Top Row: Icon + Title inline */
.sq-card-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sq-pastel-icon {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.sq-pastel-title {
  font-family: var(--sq-font-main) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
  word-spacing: normal !important;
  line-height: 1.25 !important;
}

.sq-pastel-desc {
  font-family: var(--sq-font-main) !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  margin: 0 0 10px 0 !important;
  flex-grow: 1;
}

/* Card Link */
.sq-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0066cc !important;
  font-family: var(--sq-font-main) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.2s ease;
}

.sq-card-link:hover {
  color: #004da8 !important;
  gap: 8px;
}

/* Pastel Card Color Variants */
.sq-card-blue {
  background: #f0f7ff;
  border: 1px solid #cbe2fe;
}
.sq-card-blue .sq-pastel-icon { color: #0284c7; }

.sq-card-green {
  background: #f2fbf4;
  border: 1px solid #c7f2d4;
}
.sq-card-green .sq-pastel-icon { color: #16a34a; }

.sq-card-mint {
  background: #f0fdf9;
  border: 1px solid #bbf7e0;
}
.sq-card-mint .sq-pastel-icon { color: #0d9488; }

.sq-card-purple {
  background: #faf5ff;
  border: 1px solid #ebd5ff;
}
.sq-card-purple .sq-pastel-icon { color: #8b5cf6; }

.sq-card-rose {
  background: #fff5f5;
  border: 1px solid #fed7d7;
}
.sq-card-rose .sq-pastel-icon { color: #e11d48; }

.sq-card-teal {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}
.sq-card-teal .sq-pastel-icon { color: #0284c7; }

.sq-card-cream {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.sq-card-cream .sq-pastel-icon { color: #d97706; }

.sq-card-indigo {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.sq-card-indigo .sq-pastel-icon { color: #6366f1; }

.sq-card-cyan {
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}
.sq-card-cyan .sq-pastel-icon { color: #0891b2; }

.sq-card-orange {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.sq-card-orange .sq-pastel-icon { color: #ea580c; }

/* ==========================================================================
   RIGHT COLUMN: FLAGSHIP BIG CARDS (SQUINAL ONE & SQUINAL HIMS)
   ========================================================================== */
.sq-right-featured-col {
  width: 320px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 1140px) {
  .sq-right-featured-col {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .sq-right-featured-col {
    flex-direction: column;
  }
}

/* Flagship Big Card 1: SQUINAL ONE (Warm Amber) */
.sq-flagship-card-one {
  flex: 1;
  background: linear-gradient(145deg, #fed439 0%, #ffc720 100%);
  border: 1px solid #f6be18;
  border-radius: 10px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
  transition: all 0.22s ease;
}

.sq-flagship-card-one:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.2);
}

/* Flagship Big Card 2: SQUINAL HIMS (Professional Soft Ice Healthcare Theme) */
.sq-flagship-card-hims {
  flex: 1;
  background: linear-gradient(145deg, #e6f6fd 0%, #d4f0fc 100%);
  border: 1px solid #93c5fd;
  border-radius: 10px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
  transition: all 0.22s ease;
}

.sq-flagship-card-hims:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.16);
}

.sq-featured-cube-icon {
  font-size: 24px;
  color: #b45309;
  margin-bottom: 6px;
  display: inline-block;
  line-height: 1;
}

.sq-flagship-card-hims .sq-featured-cube-icon {
  color: #0284c7;
}

.sq-featured-kicker {
  font-family: var(--sq-font-main) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  color: #78350f !important;
  margin-bottom: 4px;
  display: block;
}

.sq-flagship-card-hims .sq-featured-kicker {
  color: #0369a1 !important;
}

.sq-featured-h2 {
  font-family: var(--sq-font-main) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.2 !important;
}

.sq-flagship-card-hims .sq-featured-h2 {
  color: #0c4a6e !important;
}

.sq-featured-sub {
  font-family: var(--sq-font-main) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
}

.sq-flagship-card-hims .sq-featured-sub {
  color: #0369a1 !important;
}

.sq-featured-p {
  font-family: var(--sq-font-main) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #334155 !important;
  margin: 0 0 14px 0 !important;
  font-weight: 400 !important;
}

.sq-flagship-card-hims .sq-featured-p {
  color: #334155 !important;
}

/* Flagship Buttons */
.sq-featured-red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #dc2626;
  color: #ffffff !important;
  font-family: var(--sq-font-main) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  transition: all 0.2s ease;
  margin-top: auto;
}

.sq-featured-red-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.sq-featured-cyan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #0284c7;
  color: #ffffff !important;
  font-family: var(--sq-font-main) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  margin-top: auto;
}

.sq-featured-cyan-btn:hover {
  background-color: #0369a1;
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* ==========================================================================
   BOTTOM CUSTOM REQUIREMENT CTA
   ========================================================================== */
.sq-custom-req-cta {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
  .sq-custom-req-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 14px;
  }
}

.sq-custom-req-content {
  flex: 1;
  text-align: left;
}

.sq-custom-req-title {
  font-family: var(--sq-font-main) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 4px;
}

.sq-custom-req-desc {
  font-family: var(--sq-font-main) !important;
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.sq-custom-req-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0f172a;
  color: #ffffff !important;
  font-family: var(--sq-font-main) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.sq-custom-req-btn:hover {
  background-color: #0284c7;
  transform: translateY(-1px);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   REUSABLE DEMO REQUEST MODAL POPUP (CLEAN & ORGANIZED ENTERPRISE UI)
   ========================================================================== */
body.sq-modal-open {
  overflow: hidden !important;
}

.sq-demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.sq-demo-modal.sq-modal-visible {
  opacity: 1;
  visibility: visible;
}

.sq-demo-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sq-demo-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 30px 22px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.06);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .sq-demo-modal-dialog {
    padding: 20px 16px 18px;
    max-height: 94vh;
    overflow-y: auto;
  }
}

.sq-demo-modal.sq-modal-visible .sq-demo-modal-dialog {
  transform: translateY(0) scale(1);
}

.sq-demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sq-demo-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Modal Header */
.sq-demo-modal-header {
  margin-bottom: 14px;
  text-align: left;
}

.sq-demo-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sq-font-main) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  color: #0284c7 !important;
  background: #e0f2fe;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.sq-demo-modal-title {
  font-family: var(--sq-font-main) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.2 !important;
}

.sq-demo-modal-subtitle {
  font-family: var(--sq-font-main) !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* Alert Banner */
.sq-demo-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: left;
}

/* Form Grid */
.sq-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .sq-demo-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
}

.sq-demo-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sq-demo-field-full {
  margin-bottom: 10px;
}

.sq-demo-label {
  font-family: var(--sq-font-main) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 3px !important;
  letter-spacing: -0.01em !important;
}

.sq-demo-req {
  color: #dc2626;
}

.sq-demo-input,
.sq-demo-select,
.sq-demo-textarea {
  font-family: var(--sq-font-main) !important;
  font-size: 13px !important;
  color: #0f172a !important;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 8px 12px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  height: 40px;
}

.sq-demo-input:focus,
.sq-demo-select:focus,
.sq-demo-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.sq-demo-textarea {
  height: auto;
  min-height: 52px;
  max-height: 100px;
  resize: vertical;
  line-height: 1.4;
}

/* Symmetrical 40px WhatsApp Pill Switch (Matches Select Height) */
.sq-wa-pill-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 40px;
}

.sq-wa-pill-opt {
  margin: 0;
  cursor: pointer;
  display: flex;
}

.sq-wa-pill-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sq-wa-pill-box {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-family: var(--sq-font-main) !important;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: all 0.18s ease;
  user-select: none;
}

.sq-wa-pill-box i {
  color: #25d366;
  font-size: 15px;
}

.sq-wa-pill-opt:hover .sq-wa-pill-box {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.sq-wa-pill-opt input[type="radio"]:checked + .sq-wa-pill-box {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #15803d;
  font-weight: 700;
  box-shadow: 0 0 0 1px #16a34a, 0 1px 3px rgba(22, 163, 74, 0.15);
}

/* Submit Button */
.sq-demo-submit-row {
  margin-top: 14px;
}

.sq-demo-submit-btn {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #dc2626;
  color: #ffffff !important;
  font-family: var(--sq-font-main) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em !important;
  padding: 0 20px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transition: all 0.2s ease;
}

.sq-demo-submit-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.sq-demo-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success View */
.sq-demo-success-body {
  padding: 20px 10px 10px;
  text-align: center;
}

.sq-demo-success-icon {
  font-size: 46px;
  color: #16a34a;
  margin-bottom: 12px;
  line-height: 1;
}

.sq-demo-success-title {
  font-family: var(--sq-font-main) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.01em !important;
}

.sq-demo-success-text {
  font-family: var(--sq-font-main) !important;
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
  max-width: 420px;
  margin: 0 auto 18px auto !important;
}

.sq-demo-done-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  color: #ffffff !important;
  font-family: var(--sq-font-main) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 8px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sq-demo-done-btn:hover {
  background-color: #0284c7;
}
