/* Catalog Section Styles */
.ev-catalog-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f7f8fa;
  padding: 64px 20px 64px 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.ev-catalog-inner {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}
.ev-catalog-main {
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 32px 40px;
  min-width: 520px;
  max-width: 700px;
  width: 50%;
  box-sizing: border-box;
}
.ev-catalog-main-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  background: #fff;
  border: none;
  margin-right: 32px;
}
.ev-catalog-main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: center;   /* center items horizontally in the right area */
  text-align: center;    /* center text within right content */
}
.ev-catalog-logo {
  width: 160px;
  margin-bottom: 8px;
}
.ev-catalog-title {
  font-size: 24px;
  font-weight: 700;
  color: #23282d;
  margin-bottom: 12px;
}
.ev-catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d7003a;
  color: #fff;
  /* Adaptive text size: will scale down before wrapping */
  font-size: clamp(12px, 1.25vw, 18px);
  font-weight: 700;
  border-radius: 999px;
  padding: 0 40px;
  /* Adaptive horizontal padding so content fits */
  padding-inline: clamp(14px, 2.5vw, 40px);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  margin-top: 12px;
  height: 44px;
  line-height: 44px;
  /* Allow shrinking to fit available space */
  min-width: 0;
  max-width: 100%;
  white-space: nowrap; /* keep on one line */
  box-sizing: border-box;
}

/* Prevent button text from wrapping at widths <= 1280px */
@media (max-width: 1280px) {
  .ev-catalog-btn {
    font-size: 16px;        /* smaller text to keep one line */
    padding: 0 28px;        /* reduce horizontal padding */
    height: 40px;           /* slightly shorter button */
    line-height: 40px;
    min-width: 140px;       /* shrink min width to fit */
  }
}
.ev-catalog-btn:hover {
  background: #b8002f;
  color: #fff;
}
.ev-catalog-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  width: 50%;
  min-width: 400px;
  align-items: stretch;
}
.ev-catalog-feature {
  background: #fff;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  font-size: 18px;
  color: #23282d;
  font-weight: 500;
  box-sizing: border-box;
}
.ev-catalog-feature-icon {
  width: 50px;
  height: 50px;
  background: #F1F3F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ev-catalog-feature-icon img,
.ev-catalog-feature-icon svg {
  max-width: 28px;
  max-height: 28px;
  width: auto;
  height: auto;
  display: block;
}
.ev-catalog-feature-text {
  flex: 1;
}

/* Link styles for clickable catalog features */
.ev-catalog-feature[href] {
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ev-catalog-feature[href]:hover {
  background: #f8f9fa;
  border-color: #E6002D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ev-catalog-feature[href]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .ev-catalog-section {
    padding: 32px 0 32px 0;
  }
  .ev-catalog-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding: 0 8px;
  }
  .ev-catalog-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 163px;
    min-height: 163px;
    max-height: 163px;
    background: #fff;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    padding: 16px 8px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
  }
  .ev-catalog-main-img {
    width: 50%;
    height: 131px;
    margin-right: 0;
    margin-bottom: 0;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
  }
  .ev-catalog-main-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    padding-left: 0;
    text-align: center;
    box-sizing: border-box;
  }
  .ev-catalog-logo {
    width: 70px;
    margin-bottom: 2px;
  }
  .ev-catalog-title {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .ev-catalog-btn {
    font-size: 12px;
    padding: 0 14px;
    margin-top: 4px;
    border-radius: 16px;
    height: 32px;
    line-height: 32px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ev-catalog-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .ev-catalog-feature {
    border-radius: 0;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
    font-size: 13px;
    box-sizing: border-box;
    width: 100%;
  }
  .ev-catalog-feature:not(:last-child) {
    border-bottom: none;
  }
  .ev-catalog-feature-icon {
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
  }
  .ev-catalog-feature-text {
    font-size: 13px;
  }
} 