﻿.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

/* 导航栏滚动效果样式 */
#main-navbar {
    transition: background-color 0.3s ease-in-out !important;
}

#main-navbar.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 导航栏文字在滚动时的样式 */
#main-navbar.navbar-scrolled .ekit-menu-nav-link {
    color: #ffffff !important;
    transition: color 0.3s ease-in-out;
}

/* 导航栏logo在滚动时的样式 */
#main-navbar.navbar-scrolled img {
    filter: brightness(1.1);
    transition: filter 0.3s ease-in-out;
}

/* Shopify统计区域样式 */
.shopify-stats-header {
    text-align: center;
    margin: 40px 0;
    color: white;
}

.stats-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.title-divider {
    width: 60px;
    height: 2px;
    background: #00bcd4;
    margin: 0 20px;
}

.stats-main-title {
    font-size: 24px;
    font-weight: 400;
    color: #00bcd4;
    margin: 0;
    padding: 10px 20px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 20px;
}

.stats-subtitle {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin: 0;
    text-align: center;
}

/* 三个统计项容器 */
.shopify-stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 60px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 单个统计项 */
.stat-item {
    flex: 1;
    text-align: center;
    color: white;
    max-width: 350px;
}

.stat-icon {
    margin-bottom: 30px;
}

.stat-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: transform 0.3s ease-in-out;
}

.stat-icon img:hover {
    transform: scale(1.1);
}

.stat-content h3.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin: 20px 0 15px 0;
}

.stat-content p.stat-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0 10px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .shopify-stats-container {
        gap: 30px;
    }
    
    .stats-subtitle {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .shopify-stats-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .stat-item {
        max-width: 100%;
    }
    
    .stats-subtitle {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .stats-main-title {
        font-size: 18px;
    }
    
    .title-divider {
        width: 40px;
        margin: 0 15px;
    }
    
    .stat-content h3.stat-number {
        font-size: 28px;
    }
    
    .stat-content p.stat-description {
        font-size: 14px;
    }
}

/* 原有的单图片样式保留备用 */
.shopify-statistics-image {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.shopify-statistics-image:hover {
    transform: scale(1.02);
}

.elementor-element-shopify-stats {
    padding: 20px 0;
}

.elementor-element-shopify-stats .elementor-widget-container {
    position: relative;
    overflow: hidden;
}

/* Jason Chan区块样式 */
.elementor-element-jason-chan {
    padding: 60px 0;
}

/* 主容器 - 电脑端左右布局 */
.elementor-element-jason-content {
    display: flex;
    align-items: center;
    gap: 40px;
    /*max-width: 1200px;*/
    margin: 0 auto;
    /*padding: 0 20px;*/
    flex-direction: row; /* 强制电脑端横向排列 */
}

/* 左侧文字容器 */
.elementor-element-jason-text {
    flex: 1;
    min-width: 0; /* 防止文字溢出 */
    padding: 40px;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* 右侧图片容器 */
.elementor-element-jason-image {
    flex: 0 0 400px;
    width: 400px;
    max-width: 400px;
}

/* 标题样式 */
.elementor-element-jason-title h2 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: left;
}

/* 正文样式 */
.elementor-element-jason-content-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.elementor-element-jason-content-text p:last-child {
    margin-bottom: 0;
}

/* 图片样式 */
.jason-chan-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-radius: 12px !important;
    object-fit: cover;
}

.jason-chan-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* 平板端适配 */
@media (max-width: 1024px) {
    .elementor-element-jason-content {
        gap: 30px;
        flex-direction: row; /* 平板端仍保持左右布局 */
    }
    
    .elementor-element-jason-image {
        flex: 0 0 350px;
        width: 350px;
        max-width: 350px;
    }
    
    .elementor-element-jason-text {
        padding: 35px;
    }
    
    .elementor-element-jason-title h2 {
        font-size: 28px;
    }
    
    .elementor-element-jason-content-text p {
        font-size: 16px;
    }
}

/* 手机端布局 - 图片在上，标题+正文在下 */
@media (max-width: 768px) {
    .elementor-element-jason-content {
        /*flex-direction: column !important; */
        /*gap: 30px;*/
        /*padding: 0 15px;*/
        height: 300px;
        width: 100%;
    }
    
    /* 手机端图片在上面 */
    .elementor-element-jason-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        order: 1;
    }
    
    /* 手机端文字在下面 */
    .elementor-element-jason-text {
        flex: none;
        order: 2;
        padding: 30px 25px;
        margin-top: 0;
    }
    
    .elementor-element-jason-title h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .elementor-element-jason-content-text p {
        font-size: 16px;
        text-align: center;
        margin-bottom: 15px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .elementor-element-jason-chan {
        padding: 40px 0;
    }
    
    .elementor-element-jason-text {
        padding: 25px 20px;
    }
    
    .elementor-element-jason-title h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .elementor-element-jason-content-text p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 修复accordion图标在电脑端不显示的问题 - 使用可用的jki图标 */
/* 隐藏不能显示的ElementsKit图标 */
.icon-up-arrow1,
.icon-down-arrow1 {
    display: none !important;
}

/* 使用jki图标替代 */
.ekit_accordion_icon_group::after {
    content: "" !important;
    font-family: jkiticon !important;
    font-size: 16px !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* 默认状态显示向下箭头 */
.ekit_accordion_icon_group::after {
    content: "\ea08" !important; /* jki-chevron-down-solid */
}

/* 展开状态显示向上箭头 */
.ekit_accordion_active_icon::after {
    content: "\ea0b" !important; /* jki-chevron-up-solid */
    font-family: jkiticon !important;
    font-size: 16px !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* 确保图标容器本身可见 */
.ekit_accordion_icon_group,
.ekit_accordion_active_icon {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

/* 隐藏原有的i标签内容 */
.ekit_accordion_icon_group i,
.ekit_accordion_active_icon i {
    display: none !important;
}
