/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/** 自定义表格样式 **/
.customize-table-div { overflow-x: auto; margin: 15px 0; } 
.customize-table { width: 100%; border-collapse: collapse; min-width: 550px; font-size: 13px; }
.customize-table th, .customize-table td { border: 1px solid #ddd; padding: 10px; text-align: left; }
.customize-table th { background: #f9f9f9; color: #000; }


/* 精准隐藏品牌页的标题（适配你的类名） */
h1.woocommerce-products-header__title.page-title {
    display: none !important;
}

/** 菜单样式 **/
.header-4-container {
   background-image: linear-gradient(64deg, #3d60a3, #212e7f, #09437c, #4904a4);
}
/** 手机端菜单 **/
.col-full-nav {
	background-image: linear-gradient(64deg, #3d60a3, #212e7f, #09437c, #4904a4);
}
/* 二级菜单样式 */
.main-navigation ul.menu ul.sub-menu {
	background-image: linear-gradient(134deg, #25367f, #1e3ba1, #084c7e);
}
/* body样式 */
body {
	background-image: linear-gradient(100deg, #eef4ff, #c7d9ff, #f2ebff);
}
/* footer样式 */
footer.site-footer, footer.copyright {
	background-image: linear-gradient(99deg, #172a85, #0e4161, #371775);
}



/* 针对 WooCommerce 商店公告栏的居中改造 */
.woocommerce-store-notice.demo_store {
   text-align: center;
}
.demo_store a.woocommerce-store-notice__dismiss-link {
	/* 按钮样式微调 */
	margin: -1.8em -1em -2em 0;
}
footer.copyright div {
	/* footer样式微调，会被公告栏挡住 */
	margin-bottom: 20px;
}

/* FAQ */
/* FAQ-内容区域样式 */
.faq-content {
	padding: 0 20px 20px 20px;
	font-size: 14.5px;
	color: #666;
	background: #fffdf5;
}
/* FAQ-联系信息卡片 */
.contact-card {	
	background: #fff;
	border: 2px dashed #ffcc00;
	padding: 20px;
	border-radius: 8px;
	margin-top: 15px;
}
/* FAQ-底部法律链接区域 */
.legal-footer {
	margin-top: 60px;
	padding: 40px 30px;
	background: #f9f9f9;
	border-radius: 8px;
	text-align: center;
	border: 1px solid #eee;
}
.legal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-top: 20px;
}
.legal-grid a {
	color: #777;
	font-size: 13px;
	text-decoration: none;
	transition: color 0.3s;
}
.legal-grid a:hover { color: #000; text-decoration: underline; }


/* 联系我们-Message描述 */
.contact-us-contact-guidance {
	max-width: 800px;
	margin: 20px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #444;
	line-height: 1.6;
}
.contact-us-guidance-title {
	font-size: 16px;
	font-weight: 700;
	color: #000;
	margin-bottom: 15px;
}
.contact-us-guidance-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.contact-us-guidance-card {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	border-left: 4px solid #ffcc00;
}
.contact-us-card-title {
	display: block;
	font-weight: 700;
	color: #000;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.contact-us-guidance-list {
	margin: 0;
	padding-left: 18px;
	font-size: 13.5px;
}
.contact-us-guidance-list li {
	margin-bottom: 5px !important;
}
.contact-us-response-time {
	margin-top: 20px;
	font-size: 13px;
	color: #888;
	font-style: italic;
}
.contact-us-faq-footer-more {
	background: #fdf9e9;
	padding: 15px 20px;
	border-radius: 6px;
	margin-top: 30px;
	font-size: 14px;
	border-left: 4px solid #ffcc00;
}


/* Image Custom Caption 内容居中 */
.elementor-widget-image figcaption.widget-image-caption.wp-caption-text {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important; /* 只垂直居中，水平铺满 */
  text-align: center !important;
  z-index: 2 !important;
}



/* 隐藏分级定价 Blocks 布局中的第一个块 */
.tpt-block:first-child, 
.tiered-pricing-block:first-child {
    display: none !important;
}
/* 隐藏分级定价 Table 布局的第一行数据 */
.tiered-pricing-table tr:nth-child(2) { 
    display: none !important; 
}





/* 针对移动端的优化 */
@media (max-width: 990px) {
	/* 商店公告栏 */
	.demo_store a.woocommerce-store-notice__dismiss-link {
		margin: 0em 0em 0em 0em;
	}
	footer.copyright div {
		margin-bottom: 120px;
	}
	
	
	/* 联系我们-Message描述 */
	.contact-us-guidance-grid { grid-template-columns: 1fr; }
	
}
