/**
Theme Name: Astra Child
Author: Uniphp
Author URI: https://uniphp.cn
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


.wp-block-image {
  transition: all 0.3s ease;
  /* 过渡效果作用于背景和图片 */
  background-color: transparent;
  /* 默认透明背景 */
  display: inline-block;
  /* 确保背景仅围绕图片 */
  padding: 5px;
  /* 可选：增加一些内边距，使背景更明显 */
  border-radius: 4px;
  /* 可选：圆角 */
}
.wp-block-image:hover {
  background-color: #3498db;
  /* 鼠标移入时背景变为蓝色 */
}
.wp-block-image img {
  width: 60px;
  transition: transform 0.3s ease;
  /* 图片放大过渡 */
}
.wp-block-image:hover img {
  transform: scale(1.1);
  /* 图片放大 */
  cursor: pointer;
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom: 0px;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  max-width: 60px !important;
  margin: 0px;
  padding: 0px;
}

.page-title {
  color: #000;
}

@font-face {
  font-family: 'hyper';
  src: url('../astra/assets/fonts/hyperoxide-1j96j(1).ttf')
}

/* 分类页的标题文字缩小 */
#main .ast-woocommerce-container .woocommerce-products-header h1 {
  font-size: 50px;
  font-family: 'hyper'
}


/* 调整footer内容位置 */
#block-48 {
  display: none;
}
#block-108 {
	margin-bottom:2.1em;
}

/* 侧栏搜索标签字体样式 */
.sidebar-main .widget_search .wp-block-search__label {
	display: block;
	margin-bottom: .4em;
	line-height: 1.23em;
	font-family: 'Racing Sans One',display;
	font-size: 1.375rem;
	text-transform: uppercase;
}

/* 侧栏产品分类字体 */
.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item__name {
	text-transform: capitalize;
	font-size: 1.23em;
}

.ast-woocommerce-container .product .entry-summary {
	position: relative;
	z-index: 10;
}
.ast-woocommerce-container .product .entry-summary .product-gallery-zoom {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 500px;
	background-color: #fff;
	border: 1px solid #eee;
}

.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item a i {
	display: none;
}
.product-gallery-zoom {
	display: none;
	height: 0;
}
@media (min-width: 922px) {
	.sidebar-main .wc-block-product-categories-list--depth-0 {
		display: inline-block;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item {
		position: relative;
		z-index: 2;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item:hover {
		background-color: var(--ast-global-color-4);
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item a {
		display: inline-flex;
		align-items: center;
		justify-content: space-between;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item a i {
		display: block;
		margin-right: 10px;
		font-style: normal;
		font-size: 1.2em;
		margin-left: 15px;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item .wc-block-product-categories-list {
		position: absolute;
		top: 0;
		left: 100%;
		display: none;
		min-width: 50%;
		padding-left: 2px;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list-item:hover .wc-block-product-categories-list {
		display: block;
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item {
		padding-right: 15px;
		white-space: nowrap;
		background-color: var(--ast-global-color-4);
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item:hover {
		background-color: var(--wp--preset--color--vivid-cyan-blue);
	}
	.sidebar-main .wc-block-product-categories-list .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item:hover a {
		color: #fff !important;
	}

	.product-gallery-zoom {
		position: absolute;
		top: 150px;
		left: 52%;
		z-index: 99;
		display: none;
		width: 47%;
		min-height: 650px;
		background-color: #fff;
		border: 1px solid #eee;
		box-shadow: 0px 6px 8px 2px rgba(0, 0, 0, 0.25);
	}

}



