
/* =========================================================
   TOUCHSCREEN DISPLAYS - RESPONSIVE LANDING PAGE
   Shopify Custom Liquid / HTML
   ========================================================= */

.ts-display-page {
  --ts-text: #171717;
  --ts-muted: #666666;
  --ts-light: #f6f7f8;
  --ts-border: #e5e7eb;
  --ts-accent: #111111;
  --ts-white: #ffffff;
  --ts-max: 1280px;

  color: var(--ts-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--ts-white);
  width: 100%;
  overflow: hidden;
}

.ts-display-page *,
.ts-display-page *::before,
.ts-display-page *::after {
  box-sizing: border-box;
}

.ts-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.ts-hero {
  padding: 90px 0 80px;
  background: #f7f8f9;
}

.ts-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.ts-hero-content {
  max-width: 600px;
}

.ts-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #666;
}

.ts-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.8px;
}

.ts-hero-description {
  margin: 0;
  max-width: 570px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ts-muted);
}

.ts-hero-image {
  width: 100%;
}

.ts-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   INTRO / PRODUCT RANGE
   ========================================================= */

.ts-intro {
  padding: 85px 0 70px;
  text-align: center;
}

.ts-intro h2 {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.ts-intro p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* =========================================================
   SIZE NAVIGATION
   ========================================================= */

.ts-size-nav {
  padding: 0 0 65px;
}

.ts-size-nav-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ts-size-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 17px;
  border: 1px solid var(--ts-border);
  border-radius: 30px;
  color: var(--ts-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: all 0.2s ease;
}

.ts-size-nav a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* =========================================================
   COMPACT 10 / 15.6 SECTION
   ========================================================= */

.ts-compact {
  padding: 65px 0;
  background: #f7f7f7;
}

.ts-section-heading {
  max-width: 800px;
  margin-bottom: 45px;
}

.ts-section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ts-section-heading h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.ts-section-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ts-muted);
}

.ts-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ts-compact-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ts-border);
}

.ts-compact-image {
  margin-bottom: 24px;
  background: #fafafa;
}

.ts-compact-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ts-compact-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.3;
}

.ts-compact-card p {
  margin: 0 0 18px;
  color: var(--ts-muted);
  line-height: 1.7;
  font-size: 15px;
}

.ts-product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ts-product-link:hover {
  text-decoration: underline;
}

/* =========================================================
   21.5" FEATURED SECTION
   ========================================================= */

.ts-featured {
  padding: 100px 0;
  background: #fff;
}

.ts-featured-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 80px;
}

.ts-featured-image {
  background: #f7f7f7;
  padding: 25px;
}

.ts-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ts-featured-content h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.ts-featured-content > p {
  margin: 0 0 28px;
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.8;
}

.ts-featured-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.ts-featured-list li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.ts-featured-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  font-weight: 700;
}

/* =========================================================
   LARGE FORMAT 32-65 SECTION
   ========================================================= */

.ts-large-format {
  padding: 100px 0;
  background: #f6f7f8;
}

.ts-large-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ts-large-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  overflow: hidden;
}

.ts-large-card-image {
  background: #fafafa;
  padding: 30px;
}

.ts-large-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ts-large-card-content {
  padding: 30px 32px 34px;
}

.ts-large-card-content h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.ts-large-card-content p {
  margin: 0 0 20px;
  color: var(--ts-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   INSTALLATION OPTIONS
   ========================================================= */

.ts-installation {
  padding: 100px 0;
  background: #fff;
}

.ts-installation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.ts-install-card {
  border: 1px solid var(--ts-border);
  background: #fff;
}

.ts-install-image {
  background: #f7f7f7;
}

.ts-install-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.ts-install-content {
  padding: 25px;
}

.ts-install-content h3 {
  margin: 0 0 9px;
  font-size: 22px;
}

.ts-install-content p {
  margin: 0;
  color: var(--ts-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   FEATURES
   ========================================================= */

.ts-features {
  padding: 100px 0;
  background: #f6f7f8;
}

.ts-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ts-border);
  border: 1px solid var(--ts-border);
}

.ts-feature {
  min-height: 180px;
  padding: 30px;
  background: #fff;
}

.ts-feature h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.ts-feature p {
  margin: 0;
  color: var(--ts-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   MANUFACTURER / SUPPLIER
   ========================================================= */

.ts-manufacturer {
  padding: 100px 0;
  background: #fff;
}

.ts-manufacturer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.ts-manufacturer-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ts-manufacturer-content h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.8px;
}

.ts-manufacturer-content > p {
  margin: 0 0 25px;
  color: var(--ts-muted);
  font-size: 16px;
  line-height: 1.8;
}

.ts-factory-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ts-factory-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.ts-factory-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  font-weight: 700;
}

/* =========================================================
   END SPACING
   No CTA section - form already exists elsewhere
   ========================================================= */

.ts-bottom-space {
  height: 20px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

  .ts-container {
    width: min(100% - 40px, 900px);
  }

  .ts-hero {
    padding: 70px 0;
  }

  .ts-hero-inner {
    gap: 45px;
  }

  .ts-featured-grid,
  .ts-manufacturer-grid {
    gap: 50px;
  }

  .ts-large-grid {
    gap: 22px;
  }

  .ts-installation-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .ts-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ts-feature {
    min-height: auto;
  }
}

@media (max-width: 767px) {

  .ts-container {
    width: calc(100% - 32px);
  }

  .ts-hero {
    padding: 55px 0 45px;
  }

  .ts-hero-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ts-hero-content {
    max-width: none;
  }

  .ts-eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: 1.4px;
  }

  .ts-hero h1 {
    margin-bottom: 17px;
    font-size: 40px;
    letter-spacing: -1px;
  }

  .ts-hero-description {
    font-size: 16px;
    line-height: 1.7;
  }

  .ts-intro {
    padding: 60px 0 45px;
  }

  .ts-intro h2 {
    font-size: 30px;
  }

  .ts-intro p {
    font-size: 15px;
  }

  .ts-size-nav {
    padding-bottom: 45px;
  }

  .ts-size-nav-inner {
    gap: 7px;
  }

  .ts-size-nav a {
    min-width: auto;
    padding: 8px 13px;
    font-size: 13px;
  }

  .ts-compact {
    padding: 60px 0;
  }

  .ts-section-heading {
    margin-bottom: 30px;
  }

  .ts-section-heading h2 {
    font-size: 30px;
  }

  .ts-compact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ts-compact-card {
    padding: 20px;
  }

  .ts-compact-card h3 {
    font-size: 21px;
  }

  .ts-featured {
    padding: 65px 0;
  }

  .ts-featured-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ts-featured-image {
    padding: 15px;
    order: 1;
  }

  .ts-featured-content {
    order: 2;
  }

  .ts-featured-content h2 {
    font-size: 32px;
  }

  .ts-featured-content > p {
    font-size: 15px;
  }

  .ts-featured-list li {
    font-size: 14px;
  }

  .ts-large-format {
    padding: 65px 0;
  }

  .ts-large-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ts-large-card-image {
    padding: 18px;
  }

  .ts-large-card-content {
    padding: 22px;
  }

  .ts-large-card-content h3 {
    font-size: 24px;
  }

  .ts-installation {
    padding: 65px 0;
  }

  .ts-installation-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ts-install-content {
    padding: 20px;
  }

  .ts-features {
    padding: 65px 0;
  }

  .ts-features-grid {
    grid-template-columns: 1fr;
  }

  .ts-feature {
    min-height: auto;
    padding: 24px;
  }

  .ts-manufacturer {
    padding: 65px 0;
  }

  .ts-manufacturer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ts-manufacturer-content h2 {
    font-size: 32px;
  }

  .ts-factory-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {

  .ts-container {
    width: calc(100% - 24px);
  }

  .ts-hero h1 {
    font-size: 36px;
  }

  .ts-hero-description {
    font-size: 15px;
  }

  .ts-intro h2,
  .ts-section-heading h2 {
    font-size: 27px;
  }

  .ts-featured-content h2,
  .ts-manufacturer-content h2 {
    font-size: 29px;
  }

  .ts-size-nav-inner {
    justify-content: flex-start;
  }

  .ts-size-nav a {
    font-size: 12px;
    padding: 7px 11px;
  }
}
