/*
Theme Name: Softliee Legacy Bridge
Author: Codex
Version: 1.0.2
*/

:root {
  --softliee-red: #4958EF;
  --softliee-blue-hover: #5753d9;
  --softliee-dark: #111;
  --softliee-soft: #f8f8f9;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

a { text-decoration: none; }

.bg-theme {
  background: var(--softliee-red) !important;
}

.bg-custom {
  background: #f8f8f9;
}

.btn-custom {
  background: var(--softliee-red) !important;
  border-color: var(--softliee-red) !important;
  color: #fff !important;
}

.btn-custom:hover,
.nav-link.active,
.nav-link:hover {
  background: var(--softliee-blue-hover) !important;
  border-color: var(--softliee-blue-hover) !important;
  color: #fff !important;
}

.text-custom,
.text-hover:hover,
.product-price {
  color: var(--softliee-blue-hover) !important;
}

.nav-shadow,
.card-shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.sl-text-logo {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.sl-laravel-header img[alt="logo"],
.sl-mobile-logo img {
  display: block;
  width: 140px;
  max-width: 140px;
  height: auto;
}

.sl-mobile-logo img {
  width: 112px;
  max-width: 112px;
}

.sl-mobile-spacer {
  height: 88px;
}

.sl-brand-strip {
  margin-top: 0;
  background: #f8f8f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.sl-brand-strip .container {
  max-width: 100%;
}

.heading {
  line-height: 1.3;
}

.sl-product-card {
  min-height: 315px;
}

.sl-product-card .prod-img {
  width: calc(100% - 4px);
  max-width: 100%;
  height: 185px;
  object-fit: contain;
  box-sizing: border-box;
}

.product-font {
  min-height: 40px;
  font-size: 15px;
  line-height: 1.35;
}

.font-sm {
  font-size: 13px;
}

.form-placeholder {
  font-size: 14px;
}

.btn-price {
  color: #111 !important;
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.gap-custom {
  gap: 0.55rem;
}

.brand-768 {
  min-height: 32px;
}

.tech-img {
  width: 120px;
  height: 100px;
  object-fit: contain;
}

.tech-h {
  min-height: 142px;
}

.img-prod-detail {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.section-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.sl-detail-specs .h2 {
  font-size: 30px;
}

.sl-detail-specs .form-placeholder {
  margin-left: 3px;
  font-size: 13px;
}

.pf-hide {
  margin-top: 48px;
}

.sl-page-wrap,
.sl-container,
.sl-content,
.sl-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.sl-container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.sl-hero {
  background: #f8f8f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 34px 0 22px;
}

.sl-hero h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
}

.sl-content {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.75;
}

.sl-content img,
.sl-content iframe,
.sl-content video,
.sl-main-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.sl-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.sl-content td,
.sl-content th {
  min-width: 120px;
  padding: 8px;
}

.sl-main-image {
  margin: 18px auto;
  max-height: 420px;
  object-fit: contain;
}

.sl-empty {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #666;
  font-weight: 700;
  padding: 18px;
}

.sl-review-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.sl-review-item:first-of-type {
  border-top: 0;
}

.sl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.sl-gallery img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px;
}

.sl-story-card,
.sl-web-story {
  display: block;
  height: 100%;
  background: #fff;
  color: #111;
  padding: 12px;
  overflow: hidden;
}

.sl-story-card img,
.sl-web-story img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #f8f8f9;
}

.sl-story-card span,
.sl-story-card small,
.sl-web-story h5 {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sl-story-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.sl-story-strip img {
  width: 220px;
  height: 360px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  body {
    padding-top: 0;
  }

  .margin {
    margin-top: 24px !important;
  }

  .sl-product-card {
    min-height: 285px;
  }

  .sl-product-card .prod-img {
    height: 150px;
  }

  .product-font {
    font-size: 13px;
  }

  .sl-detail-specs .h2 {
    font-size: 18px;
  }

  .sl-detail-specs .col-12 {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .sl-hero {
    padding: 22px 0 16px;
  }

  .sl-hero h1 {
    font-size: 22px;
  }

  .sl-gallery img {
    height: 170px;
  }

  .sl-story-card img,
  .sl-web-story img {
    height: 170px;
  }
}

