/* =================================================================
   WooCommerce Product Gallery & Image Customization
   ================================================================= */

/* Main Container */
.mainbox {
	max-width: 1450px !important;
	margin:0 auto !important;
}
.price del span.price{
	display:none !important
}
/* Gallery Wrapper - Featured Image Box */

.single_add_to_cart_button {
margin-bottom:0 !important;
}
.footer-gpc-top-part{
border-bottom: 3px solid rgba(255,255,255,0.05);}
/* باکس اصلی تصویر شاخص */
.woocommerce-product-gallery__image {

  display: flex !important;

}



.main_product_price ins bdi{
	font-size:18px !important;
	font-weight:400 !important;
}

.main_product_price del bdi{
	font-size:16px !important;
	font-weight:400 !important;
}


/* Gallery Wrapper - Featured Image Box */
.woocommerce-product-gallery__wrapper > div > a {
	width: 440px !important;
	height: 440px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(rgb(22, 22, 34), rgb(35, 40, 50));
	box-sizing: border-box;
	overflow: hidden;
	margin: 0 auto;
}

/* First Image Padding */
div.images .woocommerce-product-gallery__image:nth-child(1) a {
	padding: 40px;
}

/* Image Object Fit Rules */
.woocommerce-product-gallery__image:nth-child(1) img {
	object-fit: contain;
}

.woocommerce-product-gallery__image:nth-child(n+2) a img {
	width:100%;
	object-fit: cover;
	height: 100% !important;
}

.woocommerce-product-gallery__image img {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

/* Zoom Image Background */

.woocommerce-product-gallery__image  .zoomImg {
	background: linear-gradient(rgb(22, 22, 34), rgb(35, 40, 50)) !important;
	width:750px !important;
	height:unset;
	height:auto !important;

}

/* =================================================================
   Product Details & Specifications
   ================================================================= */
.weight-indicator p{
margin:0 !important;
line-height: 1em;
color: var(--primary-300);
;}
div #_gold_weight_gr , #_gold_labor_percent ,#_seller_profit_percent, #_gold_tax{
    font-size: 1.125em !important;
    color: #fff;
margin:0 !important;
line-height: 1em;
}
.price-column{
  position: sticky !important;
  top: 96px;
  align-self: flex-start;
margin-bottom:auto;
}

/* Hide Short Description */
#shorten_desc {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
}

/* Product Meta Customization */
.woocommerce-js div.product .product_meta {
	border: unset !important;
}

span.posted_in.detail-container {
	display: none !important;
}

/* Detail Content Layout */
span.detail-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.woo-product-tags{
margin-top:auto;}
.tags-title{
	color:var(--bg-50);
	font-size:1.24em;
	font-weight:400;
}
.tags-container {
    display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-block: 12px; 
}

.tag-item {
		text-align:center;
		color:white;
    background: #5A5A5A;
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid #FAAF00;
    box-shadow: 0px 0px 4px #FAAF0066;
}

.tag-item p {
    margin: 0;
}
span.detail-content a {
	background: #5A5A5A;
	padding: 4px 16px;
	border-radius: 30px;
	border: 1px solid #FAAF00;
	box-shadow: 0px 0px 4px #FAAF0066;
}

span.tagged_as.detail-container {
	width: 100% !important;
}

/* Specifications Styling */
.custom-product-specs {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.spec-row {
	border-bottom: 1px solid #6E6E6E;
	padding-bottom: 8px;
}

span.spec-title {
	font-size: 21px;
	color: #fff;
	min-width: 130px !important;
	display: inline-block;
}

span.spec-value {
	font-size: 18px;
	color: #fff;
}

/* Sticky Detail */
#stickdetail {
	display: none;
}

#stickdetail > div {
	margin-bottom: 16px;
	padding-bottom: 3px;
	height: 21px;
}

#stickdetail > div:last-child {
	margin-bottom: 0;
}

/* Gold Weight Display */
div#_gold_weight_gr {
	font-size: 20px !important;
	color: #fff;
	margin-bottom: 11.5px;
}

/* =================================================================
   Product Variations & Add to Cart
   ================================================================= */

/* Variation Table Layout */
.varsingle tbody {
	display: flex;
	gap: 8px;
}

.varsingle tbody tr {
	display: flex;
	gap: 0px;
	flex-direction: column;
}

.varsingle tbody tr .cfvsw-swatches-container.cfvsw-product-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

.woocommerce-js div.product form.cart .variations th {
	margin: 0 !important;
}

.varsingle table {
	border: unset !important;
}

/* Variation Swatches */
.varsingle .cfvsw-swatches-option {
	padding: unset !important;
	background: unset !important;
	border: unset !important;
}

.varsingle .cfvsw-swatch-inner {
	border: 1px solid #5F6169 !important;
}

/* Variation Select Dropdown */
.varsingle select {
	background: #32343D;
	border: 1px solid #FAAF00;
	border-radius: 10px;
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Crect x='1' y='1' width='24' height='24' rx='4' ry='4' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M8 11 L13 16 L18 11' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat;
	background-size: 1.4em;
	background-position: 8px 50%;
	padding-left: 2.5rem !important;
}

.varsingle select:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Crect x='1' y='1' width='24' height='24' rx='4' ry='4' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M8 16 L13 11 L18 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Reset Variations Link */
.woocommerce-js div.product form.cart .reset_variations {
	color: #F8B101;
}

.woocommerce-js div.product form.cart .reset_variations::after {
	content: "⨯";
}

/* Hide Variation Details */
.woocommerce-variation.single_variation {
	display: none !important;
}

p.ast-stock-detail {
	display: none;
}

/* =================================================================
   Mobile Sticky Cart & Swiper
   ================================================================= */

.swiper-wrapper .swiper-slide {
	margin-right: 0 !important;
	margin-bottom: auto;
	margin-left: auto;
}

#mobile_sticky_cart table {
	display: table-column;
	pointer-events: none;
	clip-path: rect(0 0 0 0);
}

/* =================================================================
   Responsive Design - Mobile First
   ================================================================= */

/* Extra Small Devices (< 576px) */
@media (max-width: 544px) {
	span.spec-title {
		font-size: 15px;
		min-width: 110px !important;
	}

	span.spec-value {
		font-size: 14px !important;
		color: #fff;
	}
}

/* Mobile Devices (< 1024px) */
@media (max-width: 1024px) {
	.mainbox {
		margin-top: -16px !important;
	}
	
	.main_product_price{
		direction:ltr;
	}

	/* Product Gallery Thumbnails */
	.woocommerce .elementor-1150 .elementor-element.elementor-element-ec8ddbc .flex-control-thumbs img {
		border: unset !important;
		width: 36px;
		height: 36px;
		background-color: #322342;
	}

	.woocommerce .elementor-1150 .elementor-element.elementor-element-ec8ddbc .flex-control-thumbs img.flex-active {
		width: 36px !important;
		height: 36px;
		filter: brightness(1.5);
	}

	.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
		width: auto;
	}

	/* Thumbnail Navigation Position */
	ol.flex-control-nav.flex-control-thumbs {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		position: absolute;
		bottom: 32px;
		left: 50%;
		transform: translateX(-50%);
	}

	/* Sticky Image Scroll Container */
	div#imagescrolee {
		position: sticky;
		top: 0px !important;
		left: 0px;
		width: 100%;
	}

	/* Featured Image Dimensions */
	.woocommerce-product-gallery__wrapper > div > a:nth-child(1) {
		width: auto !important;
		height: 363px !important;
		padding: 32px;
	}

	.woocommerce-product-gallery__wrapper > div > a:nth-child(n+1) {
		width: 100% !important;
		height: 363px !important;
		padding: 0;
	}

	/* Gallery Container Margins */
	.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
		margin: 0;
	}

	.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images .flex-viewport {
		margin: 0 !important;
	}

	.footer-drawer{
		z-index: 99;
		gap: 0 !important;
	}

	.woot-widget-bubble{
		bottom:120px !important;
	}
}

/* Desktop Devices (>= 1025px) */
@media (min-width: 1025px) {
	.mainbox {
		max-width: 1450px !important;
		margin:0 auto !important;
		overflow: visible;
	}
}

/* Large Screens (>= 1450px) */
@media (min-width: 1450px) {
	span.detail-content {
		justify-content: space-between !important;
	}
}

/* Trust Grid Responsive */
.gk-trust-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .gk-trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2x2 grid on mobile */
        gap: 15px;
    }
}

/* Accordion Logic Styles */
.gk-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.15);
}

.gk-accordion-item.active .gk-acc-icon::after {
    transform: translate(-50%, -50%) rotate(180deg);
}


.toggle-btn{
	cursor:pointer;
	transition: all 0.3s ease;
}