#honppo-popup {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: popupFadeIn 0.3s ease;
}
.honppo-content {
  position: relative; /* 让关闭按钮相对定位于整个弹窗 */
  display: flex;
  align-items: stretch;
  width: 80%;
  max-width: 600px;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: popupSlideUp 0.3s ease;
}
.honppo-modal-content {
    display: flex;
    align-items: stretch; /* ✅ 关键 */
}

.honppo-modal-image {
    flex: 0 0 auto;
    width: 40%; /* ✅ 给一个固定比例宽度 */
    background-size: cover;
    background-position: center;
}


.honppo-left-wrapper {
    flex: 6;
    display: flex;
}

.honppo-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*padding: 20px 30px;*/
    background-color: #e3b7ff;
}

.honppo-right {
    flex: 4;
    background-size: cover;
    background-position: center;
    min-height: 100%;     /* 关键：确保与父容器等高 */
    width: 100%;          /* 关键：撑满右侧 flex 容器 */
}

/* 左侧内容样式 */
.honppo-logo { 
    width: 60%; 
    margin: 0 auto;  
    object-fit: cover;           /* ✅ 让图片填满容器并裁剪多余部分 */
    object-position: center;     /* ✅ 聚焦中间部分 */
    display: block;
    
}
.honppo-title { width: 80%; color:#31A1DF; font-size:26px; font-weight:bold; margin:10px auto 6px; text-align:center; line-height: 1.2;}
.honppo-subtitle { 
    width: 70%; 
    color:#fffdbb; 
    font-size:17px; 
    margin-bottom:16px; 
    text-align:center; 
    margin:0 auto;    
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
}
.honppo-desc p{
    font-size: 14px;
    color:#fffdbb;
}
#honppo-form { 
    display:flex;     
    flex-direction: column;
    justify-content:center; 
    margin:0 auto 12px; 
    width: 80%;
}   
#honppo-form input[type="email"] {  flex:1 1 auto; min-width:120px; padding:10px 12px; border:1px solid #ddd; border-radius:24px; margin-right:6px; }
#honppo-form button {  background:#fffdbb; color:#e3b7ff; border:0; border-radius:24px; padding:10px 16px; cursor:pointer; transition:0.2s; margin-top:15px}
#honppo-form button:hover { background:#e3b7ff; color:#fffdbb;}
.honppo-close-text { 
    display:inline-block; 
    color: #fffdbb;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    font-weight: bolder;
    font-size: large;
    font-style: italic;
    width: 80%;
     margin: 10px auto 0;
}
.honppo-desc { 
    color:#fffdbb; 
    font-size:12px; 
    word-break: break-word;
    width: 80%;
    text-align: center;
    margin: 10px auto 0;
}
.honppo-close {
  position: absolute;
  top: 0px;
  right: -5px;          /* ✅ 挪到右上角 */
  font-size: 24px;
  cursor: pointer;
  color: #fff;           /* 白色在图片上更清晰 */
  background: transparent; /* 半透明背景提升可见性 */
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.honppo-close:hover {
  color: #00c46a; 
  background: transparent;
}
/* 外层容器 */
#honppo-floating-wrapper {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 9999;
}

/* ✅ 主按钮（绿色 Get 20% OFF） */
#honppo-mini-btn {
    background-color: #00c46a;
    color: #fff;
    border: none;
    padding: 12px 10px;
    writing-mode: vertical-rl;
    /*text-orientation: mixed;*/
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
#honppo-mini-btn:hover {
    background-color: #00ad5b;
    transform: scale(1.1);
}

/* ✅ 悬挂关闭按钮（*/
#honppo-floating-close {
    position: absolute;
    top: -10px;
    right: -4px;
    font-size: 20px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #daaed0;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 15px;
}
#honppo-floating-close:hover {
    transform: scale(1.2);
}

/* 弹窗动画 */
@keyframes popupFadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes popupSlideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

/* 邮件发送成功提示框 */
#honppo-email-success-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: popupFadeIn 0.3s ease;
}

.honppo-email-success-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlideUp 0.3s ease;
    text-align: center;
}

.honppo-email-success-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s ease;
}

.honppo-email-success-close:hover {
    color: #333;
}

.honppo-email-success-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.honppo-email-success-title {
    color: #31A1DF;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.honppo-email-success-message {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

.honppo-email-success-message p {
    margin: 10px 0;
}

.honppo-email-warning {
    color: #ff6b6b;
    font-weight: bold;
    margin: 15px 0 !important;
}

.honppo-email-name {
    color: #31A1DF;
    font-weight: bold;
    font-size: 18px;
}

.honppo-email-tips {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left;
}

.honppo-email-tips p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.honppo-email-tips ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.honppo-email-tips li {
    margin: 8px 0;
    line-height: 1.5;
}

.honppo-email-success-btn {
    background: #31A1DF;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.honppo-email-success-btn:hover {
    background: #2980b9;
}

/* 响应式 */
@media (max-width:768px){
    .honppo-content { flex-direction: column; height:auto; }
    .honppo-left-wrapper, .honppo-right { flex:1 1 auto; width:100%; }
    #honppo-form { flex-direction: column; }
    #honppo-form input, #honppo-form button { width:100%; margin:6px 0; }
    
    .honppo-email-success-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .honppo-email-success-title {
        font-size: 20px;
    }
    
    .honppo-email-success-message {
        font-size: 14px;
    }
}
