* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
        background: #f9fafb;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;

}
form#valuationForm {
    width: 94%;
    padding: 58px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: #fff;
}
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.Shopify-container {
    height: fit-content;
   padding-top: 10%;
    max-width: 55%;
    width: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    width: 85%;
    color: #111827;
    font-size: 70px;
    margin-bottom: 8px;
}

.header p {
    color: #111827;
    font-size: 32px;
}
.footer .stores{
    color: beige;
}
/* 进度条 */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #9ca3af;
    z-index: 1;
}

.progress-step.active {
    background: var(--primary-color); /* 动态读取 */
    color: #fff;
}
/* 为了让 hover 效果也能跟随主题色，你可以使用 CSS 滤镜变暗 */
.btn-next:hover, .btn-submit:hover {
    /* filter: brightness(0.9); 这会让颜色变暗 10%，自动适配任何主题色 */
    filter: brightness(0.9); 
    background: var(--primary-color);
}


.progress-step.completed {
    background: #10b981;
    color: #fff;
}

/* 表单步骤控制 */
.step {
    display: none;
}

.step.active {
    max-width: 100% !important;
    display: block;
    animation: fadeIn 0.3s;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.optional-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* 按钮 */
.btn-next,
.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-color); /* 动态读取 */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}



.btn-back {
    padding: 12px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 45%;
    font-weight: bold;
}

.btn-group {
    display: flex;
    gap: 10%;
    margin-top: 20px;
}

.btn-group .btn-next,
.btn-group .btn-submit {
    width: 45%;
}

/* 估值动画与结果 */
.loader {
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.scanner {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    position: relative;
    border-radius: 2px;
}

.scanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: #2b7ef0;
    animation: scan 1.5s infinite ease-in-out;
    border-radius: 2px;
}

@keyframes scan {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

.value-display {
    font-size: 22px;
    color: #374151;
    text-align: center;
}

.value-range {
    font-size: 32px;
    color: #10b981;
    font-weight: 800;
    text-align: center;
    margin: 10px 0 30px;
}

/* 页脚与成功页 */
.success-box {
       box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
   
    color: #10b981;
}


.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
        margin-bottom: 30px;
}

.disclaimer {
    font-style: italic;
    margin-top: 10px;
    color: #d97706;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 感谢页面样式 */
.checkmark {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-box p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* =========================================
   多风格布局系统 (基于 layout_style)
   ========================================= */

/* 1. 默认风格：居中小卡片 (无背景图或仅作为页面背景) */
.layout-default {
    padding-top: 10%;
    display: flex;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

.layout-style-fullscreen-dark::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 暗色遮罩 */
    z-index: -1;
}

.layout-style-fullscreen-dark .Shopify-container {
    background: rgba(255, 255, 255, 0.95);
}

.layout-style-fullscreen-dark .hero-section {
    display: none;
    /* 全屏背景不需要内部小图片 */
}

.layout-style-fullscreen-dark .main-content {
    width: 100%;
}
/* 国际区号输入框样式 */
.phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

/* 让输入框宽度自适应填满剩余空间 */
.phone-input-group input {
    flex: 1;
    min-width: 0; /* 防止 flex item 溢出 */
}

/* 修正 intlTelInput 样式，确保下拉框位置正确 */
.iti {
    width: 100%;
    position: relative;
}

/* 如果下拉框被遮挡，增加 z-index */
.iti__country-list {
    z-index: 10;
    background-color: #fff;
}
.layout-empire_layout1 .stats-bar {
    color: #fff;
    height: auto;
    width: 100%;
    background: rgb(60, 121, 203);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.layout-empire_layout1 .stats-bar .stat {
    display: flex;
    align-items: center;
    padding: 10px;
}
.layout-empire_layout1 .stats-bar .stat .icon {
    padding-right: 10px;
  
}
/* 响应式适配：手机端强制切换为上下布局 */
@media (max-width: 768px) {
    .Shopify-container {
        max-width: 100%;
    }
    .header h1 {
    color: #111827;
    font-size: 45px;
    margin-bottom: 8px;
}
form#valuationForm {
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: #fff;
}
.header p {
    color: #111827;
    font-size: 24px;
}
    .layout-style-left-img .Shopify-container {
        flex-direction: column;
    }

    .layout-style-left-img .hero-section {
        width: 100%;
        min-height: 200px;
        /* 手机端图片变矮 */
    }

    .layout-style-left-img .main-content {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1024px){
 .Shopify-container {
    
    max-width: 80%;
   
}   
form#valuationForm {
    width: 100%;
    
}
}