/* ==========================================================================
   Ship Care Service - Products & Catalog Stylesheet (product.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CATALOG HERO BANNER (Image 2 style)
   -------------------------------------------------------------------------- */
.cat-hero-banner {
  position: relative;
  background: linear-gradient(90deg, rgba(11, 42, 91, 0.92) 0%, rgba(11, 42, 91, 0.75) 45%, rgba(11, 42, 91, 0.3) 75%, rgba(11, 42, 91, 0.15) 100%),
    url('../img/hero-ship.jpg'),
    url('/wp-content/uploads/ship-care/home/hero-ship-spares.jpg'),
    #0b2a5b;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  margin-bottom: 36px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.cat-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(251, 191, 36, 0.15), transparent 50%);
  pointer-events: none;
}

.cat-hero-wrap {
  position: relative;
  z-index: 2;
}

.cat-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cat-hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cat-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: #e2e8f0;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 26px 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.cat-hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cat-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 42, 91, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.cat-hero-pill:hover {
  background: rgba(11, 42, 91, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.cat-hero-pill svg {
  width: 16px;
  height: 16px;
  color: #60a5fa;
  flex-shrink: 0;
}

.cat-hero-script {
  font-family: 'Brush Script MT', 'Caveat', 'Segoe Script', cursive;
  font-size: 1.65rem;
  color: #bfdbfe;
  transform: rotate(-3deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   0. WIDE CONTAINER WRAPPER
   -------------------------------------------------------------------------- */
.cat-wide-wrap {
  max-width: 1600px;
  width: 96%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 32px);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. THREE-COLUMN CATALOG LAYOUT (Wider 3-Column Layout)
   -------------------------------------------------------------------------- */
.cat-catalog-container {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  margin-bottom: 60px;
  width: 100%;
}

@media (max-width: 1280px) {
  .cat-catalog-container {
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .cat-catalog-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cat-left-col {
    gap: 16px;
  }

  .cat-nav-card {
    padding: 14px;
  }

  .cat-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 6px;
  }

  .cat-nav-item {
    flex-shrink: 0;
  }

  .cat-nav-item a {
    white-space: nowrap;
    padding: 8px 14px;
  }

  .cat-value-props {
    display: none;
  }

  .cat-promo-box {
    display: none;
  }

  .cat-right-col {
    position: static;
    max-height: none;
    overflow-y: visible;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .cat-wide-wrap {
    width: 100%;
    padding: 0 16px;
  }

  .cat-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   3. LEFT SIDEBAR (Search, Categories, Promo, Value Props)
   -------------------------------------------------------------------------- */
.cat-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cat-search-box {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 42, 91, 0.04);
}

.cat-search-box input {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border: none;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.cat-search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-search-box button:hover {
  color: var(--blue);
}

.cat-nav-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
}

.cat-nav-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cat-nav-item a .cat-nav-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
}

.cat-nav-item a svg {
  width: 17px;
  height: 17px;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.2s;
}

.cat-nav-item a:hover {
  background: #f8fafc;
  color: var(--navy);
}

.cat-nav-item a:hover svg {
  color: var(--blue);
}

.cat-nav-item.active a {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
}

.cat-nav-item.active a svg {
  color: #60a5fa;
}

/* Need Specific Part Promo Box */
.cat-promo-box {
  background: linear-gradient(135deg, #0b2a5b 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 42, 91, 0.15);
}

.cat-promo-box::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1.5'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.cat-promo-box h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.cat-promo-box p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.cat-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cat-promo-btn:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateX(3px);
}

/* 4 Feature Items */
.cat-value-props {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-prop-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: transform 0.2s;
}

.cat-prop-item:hover {
  transform: translateX(4px);
  background: #f1f5f9;
}

.cat-prop-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e0f2fe;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-prop-icon svg {
  width: 18px;
  height: 18px;
}

.cat-prop-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
}

.cat-prop-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   4. MIDDLE COLUMN (Product Grid, Sorting Header, Product Cards)
   -------------------------------------------------------------------------- */
.cat-middle-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cat-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cat-count-info {
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 500;
}

.cat-count-info strong {
  color: var(--navy);
}

.cat-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-sort-form label {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.cat-sort-select {
  padding: 6px 32px 6px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cat-sort-select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Product Cards Grid (Equal Heights & Auto Fill) */
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.cat-prod-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  box-sizing: border-box;
}

.cat-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 42, 91, 0.12);
  border-color: #93c5fd;
}

.cat-prod-card a.cat-card-link-overlay {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.cat-prod-card .cat-prod-img-box,
.cat-prod-img-box {
  position: relative;
  background: #f8fafc;
  padding: 16px;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  box-sizing: border-box;
  overflow: hidden;
}

.cat-prod-card .cat-prod-img-box img,
.cat-prod-img-box img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  max-height: 148px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transition: transform 0.3s ease;
}

.cat-prod-img-box .sc-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.cat-prod-card:hover .cat-prod-img-box img {
  transform: scale(1.05);
}

.cat-badge-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.cat-badge-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.cat-badge-request {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.cat-prod-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-prod-brand {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cat-prod-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.cat-prod-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}

.cat-prod-footer {
  margin-top: auto;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}

.cat-btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  background: var(--blue);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cat-btn-quote:hover {
  background: #096bc5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 132, 243, 0.25);
  color: #ffffff;
}

.cat-btn-quote svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   5. RIGHT SIDEBAR (Request a Quote Widget - Sticky & Clean)
   -------------------------------------------------------------------------- */
.cat-right-col {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  box-sizing: border-box;
  width: 100%;
}

.cat-right-col::-webkit-scrollbar {
  width: 6px;
}

.cat-right-col::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

.cat-quote-card {
  background: #0b2a5b;
  color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(11, 42, 91, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.cat-quote-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-quote-header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.cat-quote-header-top svg {
  width: 24px;
  height: 24px;
  color: #60a5fa;
  flex-shrink: 0;
}

.cat-quote-header h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.cat-quote-header p {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin: 4px 0 0 0;
  line-height: 1.4;
}

.cat-quote-body {
  padding: 20px 24px;
}

/* Form controls inside quote card */
.sc-modern-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.sc-input-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.01em;
}

.sc-input-label svg {
  width: 13px;
  height: 13px;
  color: #93c5fd;
  flex-shrink: 0;
}

.sc-modern-form input[type="text"],
.sc-modern-form input[type="email"],
.sc-modern-form select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sc-modern-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.45;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sc-modern-form input::placeholder,
.sc-modern-form textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.sc-modern-form input:focus,
.sc-modern-form select:focus,
.sc-modern-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45);
}

.sc-modern-form input.is-invalid,
.sc-modern-form select.is-invalid,
.sc-modern-form textarea.is-invalid {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35) !important;
}

.sc-field-error {
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
  display: block;
}

.sc-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, #0b84f3 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(11, 132, 243, 0.4);
}

.sc-submit-btn:hover {
  background: linear-gradient(135deg, #096bc5 0%, #0369a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 132, 243, 0.5);
}

.sc-submit-btn:disabled,
.sc-submit-btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

@keyframes scSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sc-spin {
  animation: scSpin 0.75s linear infinite;
}

.sc-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 4px 0;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
}

.sc-or-divider::before,
.sc-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sc-or-divider span {
  padding: 0 10px;
}

.sc-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sc-whatsapp-btn:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Trust list below quote form (Compact & Modern) */
.cat-trust-list {
  padding: 14px 24px 18px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cat-trust-item svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

.cat-trust-item div strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
}

.cat-trust-item div span {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.3;
}

/* Alert styles */
.sc-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.4;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-form-alert.sc-ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.sc-form-alert.sc-err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* --------------------------------------------------------------------------
   6. SINGLE PRODUCT DETAIL PAGE (Image 3 + User Requirements)
   -------------------------------------------------------------------------- */
/* minmax(0, 1fr): a plain 1fr column can't shrink below its widest child
   (e.g. a multi-column spec table), which pushed the page past the viewport. */
.prod-detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
  margin-bottom: 60px;
}

@media (max-width: 980px) {
  .prod-detail-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.prod-main-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 1. First: Title & Badges */
.prod-header-box {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.prod-header-box h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.prod-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.prod-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  text-decoration: none;
}

.prod-badge-model {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.prod-badge-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.prod-badge-stock-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

/* 2. Next: Image Box */
.prod-img-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(11, 42, 91, 0.05);
  position: relative;
  min-height: 320px;
}

.prod-img-box img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prod-img-box:hover img {
  transform: scale(1.02);
}

.prod-img-caption {
  margin-top: 14px;
  font-size: 0.84rem;
  color: #64748b;
  text-align: center;
  font-style: italic;
}

/* 3. Summary Box */
.prod-lead-box {
  background: #f8fafc;
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
}

/* 4. Specifications Table */
.prod-specs-sec {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
}

.prod-sec-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prod-sec-title svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.prod-specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.prod-specs-table tr {
  transition: background 0.15s;
}

.prod-specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.prod-specs-table tr:hover {
  background: #eff6ff;
}

.prod-specs-table td {
  padding: 12px 16px;
  font-size: 0.94rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.prod-specs-table td.spec-name {
  width: 38%;
  font-weight: 600;
  color: var(--navy);
  border-right: 1px solid #e2e8f0;
}

.prod-specs-table td.spec-val {
  color: #334155;
}

/* Spec tables entered as HTML in the backend: scroll sideways inside the box
   instead of widening the page. */
.prod-specs-html {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.prod-specs-html th,
.prod-specs-html td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
  text-align: left;
}

@media (max-width: 640px) {
  .prod-specs-html table {
    min-width: 520px;
    font-size: 0.88rem;
  }

  .prod-specs-html.is-scrollable::before {
    content: "Swipe to see more \2192";
    position: sticky;
    left: 0;
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
  }

  .prod-specs-table td {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}

/* 5. Expandable / Collapsible Other Details Section */
.prod-expandable-details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
}

.prod-toggle-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: var(--blue);
  border: 1px solid #bfdbfe;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.prod-toggle-details-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.prod-details-content {
  display: block;
}

.prod-details-content.is-collapsed {
  display: none;
}

/* Feature bullet items */
.prod-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.prod-features-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
}

.prod-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
  font-size: 1rem;
}

/* Manuals / PDF Download Box */
.prod-manual-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
}

.prod-manual-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-manual-info svg {
  width: 28px;
  height: 28px;
  color: #ef4444;
  flex-shrink: 0;
}

.prod-manual-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.prod-manual-info span {
  font-size: 0.78rem;
  color: #64748b;
}

.prod-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.prod-download-btn:hover {
  background: var(--blue);
  color: #ffffff;
}

/* 6. FAQ Accordions */
.prod-faq-sec {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 42, 91, 0.04);
}

.prod-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prod-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafcfe;
  overflow: hidden;
  transition: border-color 0.2s;
}

.prod-faq-item[open] {
  border-color: #93c5fd;
  background: #ffffff;
}

.prod-faq-summary {
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.prod-faq-summary::-webkit-details-marker {
  display: none;
}

.prod-faq-summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}

.prod-faq-item[open] .prod-faq-summary::after {
  content: '−';
}

.prod-faq-content {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
}

/* Sidebar button in Single Product */
.prod-sidebar-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  color: var(--navy);
  border: 2px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
  text-decoration: none;
}

.prod-sidebar-trigger-btn:hover {
  background: #eff6ff;
  border-color: var(--blue);
  color: var(--blue);
}

/* 7. Bottom Other Products Section */
.prod-related-sec {
  background: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.prod-related-header {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.prod-related-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. TECHNICAL DETAILS MODAL POPUP
   -------------------------------------------------------------------------- */
.sc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 91, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sc-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.sc-modal-window {
  background: #ffffff;
  border-radius: 16px;
  max-width: 940px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(11, 42, 91, 0.45);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid var(--line);
}

.sc-modal-overlay.is-active .sc-modal-window {
  transform: translateY(0) scale(1);
}

.sc-modal-header {
  padding: 22px 28px;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.sc-modal-header h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

.sc-modal-header p {
  margin: 4px 0 0 0;
  font-size: 0.86rem;
  color: #93c5fd;
}

.sc-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sc-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.sc-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
}

.sc-modal-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.sc-modal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sc-modal-section h4 {
  font-size: 1.18rem;
  color: var(--navy);
  margin: 0 0 14px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-modal-section h4 svg {
  color: var(--blue);
  flex-shrink: 0;
}

.sc-modal-footer {
  padding: 16px 28px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.sc-modal-details-flow h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 16px 0 8px 0;
  font-weight: 700;
}

.sc-modal-details-flow h3:first-child {
  margin-top: 0;
}

.sc-modal-details-flow table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.sc-modal-details-flow th {
  background: var(--navy);
  color: #ffffff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.sc-modal-details-flow td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sc-modal-details-flow tr:nth-child(even) td {
  background: #f8fafd;
}

.sc-modal-details-flow ul {
  padding-left: 20px;
  margin: 10px 0;
}

.sc-modal-details-flow li {
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   9. RELATED PRODUCTS & BOTTOM CTA BANNER
   -------------------------------------------------------------------------- */
.prod-related-sec {
  background: #f8fafc;
  padding: 60px 0 70px 0;
  border-top: 1px solid var(--line);
}

.prod-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.prod-related-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.prod-related-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 42, 91, 0.25);
}

.prod-bottom-cta-sec {
  background: #ffffff;
  padding: 0 0 60px 0;
}

.prod-cta-card {
  position: relative;
  background: linear-gradient(135deg, #071b3d 0%, #0b2a5b 55%, #081d42 100%);
  border-radius: 20px;
  padding: 48px 36px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 42, 91, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.prod-cta-ambient {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 132, 243, 0.22) 0%, rgba(11, 132, 243, 0) 70%);
  pointer-events: none;
}

.prod-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.prod-cta-eyebrow {
  display: inline-block;
  background: rgba(147, 197, 253, 0.15);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.prod-cta-content h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.prod-cta-content p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 20px auto;
}

.prod-cta-trust-chips {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.prod-cta-trust-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prod-cta-trust-chips svg {
  color: #38bdf8;
}

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

.prod-cta-btn-quote,
.prod-cta-btn-contact,
.prod-cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.prod-cta-btn-quote {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(11, 132, 243, 0.4);
}

.prod-cta-btn-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 132, 243, 0.55);
}

.prod-cta-btn-contact {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.prod-cta-btn-contact:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.prod-cta-btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
}

.prod-cta-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.52);
}

@media (max-width: 640px) {
  .prod-cta-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
  .prod-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .prod-cta-btn-quote,
  .prod-cta-btn-contact,
  .prod-cta-btn-wa {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================
   QUOTE FORM — WhatsApp button sits right under Submit
   ========================================================== */
.sc-submit-btn + .sc-whatsapp-btn {
  margin-top: 12px;
}

/* ==========================================================
   "VIEW FULL TECHNICAL DETAILS" BUTTON
   Gradient pill with a gentle attention pulse and shine, so
   visitors notice it and open the details popup.
   ========================================================== */
.prod-details-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b2a5b 0%, #0b84f3 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 22px -10px rgba(11, 132, 243, 0.85);
  animation: prodCtaPulse 2.8s ease-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prod-details-cta > svg:first-child {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Moving shine */
.prod-details-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: prodCtaShine 4.2s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.prod-details-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.prod-details-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(11, 132, 243, 0.95);
  animation-play-state: paused;
}

.prod-details-cta:hover .prod-details-cta-arrow {
  transform: translateX(4px);
}

.prod-details-cta:focus-visible {
  outline: 3px solid rgba(11, 132, 243, 0.45);
  outline-offset: 3px;
}

@keyframes prodCtaPulse {
  0%   { box-shadow: 0 10px 22px -10px rgba(11, 132, 243, 0.85), 0 0 0 0 rgba(11, 132, 243, 0.45); }
  70%, 100% { box-shadow: 0 10px 22px -10px rgba(11, 132, 243, 0.85), 0 0 0 14px rgba(11, 132, 243, 0); }
}

@keyframes prodCtaShine {
  0%        { left: -60%; }
  35%, 100% { left: 140%; }
}

@media (max-width: 480px) {
  .prod-details-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .prod-details-cta,
  .prod-details-cta::after { animation: none; }
}
