/* ============================================================
   英美尔官网 - 联系我们专属样式 (contact.css)
   已清理无用样式，更新为上下分行、左图右文横向排版
   ============================================================ */

/* 页面主体外层背景 */
.contact-section {
  padding: 40px 0 70px 0;
  background-color: #f8fafc;
}

/* ============================================================
   两家公司板块：上下布局，左图右文
   ============================================================ */
.contact-companies-wrapper {
  margin-bottom: 50px;
}

/* 横向企业卡片（上下排列） */
.contact-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border: 1px solid #edf0f2;
}
.contact-card:last-child {
  margin-bottom: 0;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(255, 80, 0, 0.12);
  border-color: #ffd8c2;
}

/* 左侧图片区域（固定 45% 比例宽度） */
.contact-card-img-wrap {
  width: 45%;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  background: #eef2f5;
  flex-shrink: 0;
}
.contact-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.contact-card:hover .contact-card-img-wrap img {
  transform: scale(1.05);
}

/* 图片右上角徽章标签 */
.contact-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* 右侧文本信息区域 */
.contact-card-body {
  width: 55%;
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 卡片标题 */
.contact-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #f2f4f6;
}

/* 信息列表项 */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #fff4ee;
  color: #ff5000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
}
.contact-info-icon svg {
  width: 19px;
  height: 19px;
  fill: #ff5000;
}
.contact-info-text {
  flex: 1;
}
.contact-info-label {
  display: block;
  font-size: 12px;
  color: #8c939d;
  margin-bottom: 3px;
  font-weight: 600;
}
.contact-info-value {
  color: #333;
  font-size: 15px;
  font-weight: 500;
}
.contact-info-phone {
  color: #ff5000;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.contact-info-phone:hover {
  color: #e04600;
}

/* 呼叫按钮 */
.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  padding: 11px 22px;
  background: #ff5000;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 80, 0, 0.22);
}
.contact-action-btn:hover {
  background: #e04600;
  box-shadow: 0 6px 16px rgba(255, 80, 0, 0.32);
  transform: translateY(-2px);
}
.contact-action-btn svg {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ============================================================
   电商平台官方店铺模块
   ============================================================ */
.contact-stores-block {
  margin-top: 50px;
  padding-top: 45px;
  border-top: 1px dashed #d9e1e8;
}
.stores-section-title {
  text-align: center;
  margin-bottom: 35px;
}
.stores-section-title h3 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px 0;
}
.stores-section-title p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.stores-group-title {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #2c3e50;
  margin: 25px 0 16px 0;
  padding-left: 4px;
}
.stores-group-title .group-indicator {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #ff5000;
  border-radius: 2px;
  margin-right: 10px;
}
.stores-group-title span.badge-num {
  font-size: 13px;
  font-weight: normal;
  color: #8c939d;
  margin-left: 8px;
}

/* 店铺卡片网格布局 */
.store-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}
.store-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* 单个店铺卡片 */
.store-item-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  border: 1px solid #eef1f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}
.store-item-card:hover {
  transform: translateY(-6px);
  border-color: #ff5000;
  box-shadow: 0 12px 24px rgba(255, 80, 0, 0.16);
}

/* 店铺封面图容器 (3:2 原图比例) */
.store-item-thumb {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  background: #f7f9fa;
  overflow: hidden;
}
.store-item-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.store-item-card:hover .store-item-thumb img {
  transform: scale(1.05);
}

/* 店铺徽章标签 */
.store-type-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  line-height: 1.3;
  color: #fff;
  z-index: 2;
}
.store-type-tag.flagship {
  background: linear-gradient(135deg, #ff6b3d, #ff5000);
  box-shadow: 0 2px 6px rgba(255, 80, 0, 0.35);
}
.store-type-tag.specialty {
  background: linear-gradient(135deg, #4b6cb7, #182848);
}

/* 店铺卡片文本信息 */
.store-item-info {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-top: 1px solid #f6f8fa;
}
.store-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-item-btn {
  font-size: 12px;
  color: #ff5000;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.store-item-btn svg {
  width: 12px;
  height: 12px;
  fill: #ff5000;
  transition: transform 0.2s ease;
}
.store-item-card:hover .store-item-btn svg {
  transform: translateX(3px);
}

/* ============================================================
   移动端与平板响应式适配
   ============================================================ */
@media (max-width: 1199px) {
  .store-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .contact-card-img-wrap {
    min-height: 300px;
  }
  .contact-card-body {
    padding: 25px 30px;
  }
  .store-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .contact-section {
    padding: 25px 0 50px 0;
  }
  /* 移动端两家公司自动转为上图下文 */
  .contact-card {
    flex-direction: column;
  }
  .contact-card-img-wrap {
    width: 100%;
    height: 220px;
    min-height: auto;
  }
  .contact-card-body {
    width: 100%;
    padding: 22px 20px;
  }
  .contact-action-btn {
    max-width: 100%;
    width: 100%;
  }
  .store-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .store-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .store-item-info {
    padding: 10px;
  }
  .store-item-name {
    font-size: 13px;
  }
}
