﻿.gallery-box {
	position: relative;
	display: grid;
	gap: 8px;
	grid-template-columns: calc(100% - 68px) 1fr;


	.ProductGallery-Slider {
		height: 343px;
		border: solid 1px #F5F5F5;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		-ms-border-radius: 5px;
		-o-border-radius: 5px;
		overflow: hidden;

		.swiper-slide {
			display: flex;
			align-items: center;
			justify-content: center;

			img {
				width: auto;
				height: auto;
			}


		}
	}

	.ProductGallery-Thumbs {
		height: 343px;

		.swiper-slide {
			width: 100%;
			border: solid 1px #F5F5F5;
			cursor: pointer;
			border-radius: 5px;
			overflow: hidden;

			img {
				width: 100%;
				height: 100%;
				object-fit: cover;
			}

		}
	}
}


.MagicSlideshow {

	.mss-thumbnails {
		background: var(--White);

		.mss-selector-active {
			box-shadow: none;
			padding: 0px;
		}
	}

	.mss-selectors-eye {
		border: 1px solid var(--accent-color-5);
		border-radius: var(--radius);
	}

	.mss-selector-thumbnails {
		border-radius: var(--radius);
	}
}

.main-content {
	.product-name {
		display: block;
		font-size: 1.4rem;
		font-weight: bold;
		color: var(--Black);
		padding-bottom: 0.5rem;
		border-bottom: solid 1px #ddd;
		margin: 0 0 0.5rem;
		line-height: normal;
	}

	.cat-name-row {
		font-size: 1rem;
		color: var(--Black);
		margin-bottom: 0.5rem;

		svg {
			width: 1.8rem;
			height: 1.8rem;
			fill: var(--warning-color-2);
			margin-left: 0.5rem;
		}

		.cat-name {
			font-weight: normal;
			font-size: 1rem;
			color: var(--Black);
			margin: 0 0.3rem;
		}

	}

	.actions-row {
		.action-btn {
			position: relative;
			width: auto;
			height: auto;
			padding: 0;
			line-height: normal;
			display: flex;
			align-items: center;
			justify-content: center;
			border: none;
			background-color: transparent;
			margin-right: 1.5rem;
			cursor: pointer;

			svg {
				width: 1.8rem;
				height: 1.8rem;
				fill: var(--texture-color-3);
			}

			&.copylink {

				&:hover,
				&.active {
					svg {
						fill: #2961EE;
					}
				}
			}

			&.addtowish {

				&:hover,
				&.active {
					svg {
						fill: var(--warning-color-3);
					}
				}
			}

			&.addtocompare {

				svg {
					fill: none;
					stroke: var(--texture-color-3);
				}

				&:hover,
				&.active {
					svg {
						stroke: var(--success-color-3);
					}
				}
			}

			.share-tooltip {
				display: none;
				position: absolute;
				bottom: calc(100% + 10px);
				left: 0;
				background-color: var(--CustomColor8);
				color: #fff;
				white-space: nowrap;
				padding: 0.3rem 1rem;
				border-radius: 5px;
				-webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				-ms-border-radius: 5px;
				-o-border-radius: 5px;
			}
		}
	}

	.advanced-option-selector {
		.attributes-group {
			display: inline-block;
			vertical-align: top;
			margin-left: 1rem;
		}
	}

	select {
		min-width: 7rem;
		border: solid 1px var(--Black);
		padding: 0.3rem 0.5rem;
		border-radius: 0.3rem;
		outline: none;
	}

	.rating-box,
	.comments-box {
		font-size: 1rem;
		color: var(--Black);

		svg {
			width: 1.8rem;
			height: 1.8rem;
			margin-left: 0.5rem;
			fill: #FFE100;
		}
	}

	.comments-box {
		svg {
			fill: var(--accent-color);
		}
	}

	.summary-box {
		font-size: 1rem;
		color: var(--Black);

		svg {
			width: 1.8rem;
			height: 1.8rem;
			margin-left: 0.5rem;
			fill: #3A0060;
		}

		.desc {
			font-size: 0.9rem;
			font-weight: 500;

			p {
				margin: 0;
			}
		}

		.read-more {
			display: block;
			text-align: left;
			font-size: 1rem;
			color: var(--CustomColor8);
		}
	}

	.discount-box {
		padding: 0.6rem;
		border-radius: 5px;
		background: var(--warning-color-4);

		svg {
			width: 1.8rem;
			height: 1.8rem;
			fill: var(--White);
		}

		.caption {
			font-size: 0.9rem;
			color: #fff;
		}

		.soon {
			direction: ltr;

			.soon-label {
				display: none;
			}

			.soon-separator {
				font-size: 1rem;
				font-weight: bold;
				color: #fff;
				margin: 0px 0.3rem;
			}

			.soon-group-inner {
				display: flex;
				align-items: center;
				justify-content: center;

				.soon-group-sub {
					display: flex;
					align-items: center;
					justify-content: center;
					width: 2.3rem;
					height: 2.3rem;
					border-radius: 5px;
					-webkit-border-radius: 5px;
					-moz-border-radius: 5px;
					-ms-border-radius: 5px;
					-o-border-radius: 5px;
					background-color: #fff;
					font-size: 1rem;
					font-weight: bold;
					color: var(--Black);
					padding-top: 4px;
				}
			}
		}
	}

	.product-code {
		svg {
			width: 1.8rem;
			height: 1.8rem;
			fill: var(--accent-color3);
		}

		.caption {
			font-size: 0.9rem;
		}

		.value {
			font-size: 0.9rem;
			font-weight: 500;
		}
	}

	.left-side {
		.discount {
			width: 2.3rem;
			height: 2.3rem;
			background-color: var(--warning-color-2);
			border-radius: 50%;
			font-size: 0.9rem;
			font-weight: 500;
			color: #fff;
		}

		.items-box {
			border-radius: 5px;

			.item {
				color: var(--Black);
				padding: 0.8rem 0.6rem;
				border-bottom: solid 1px var(--texture-color-7);

				&:last-child {
					border: none
				}

			}
		}

		.vendor {
			background-color: var(--bg-1);
			padding: 0.8rem 0.6rem;
			border-radius: var(--radius);
			-webkit-border-radius: var(--radius);
			-moz-border-radius: var(--radius);
			-ms-border-radius: var(--radius);
			-o-border-radius: var(--radius);

			.more-products {
				font-size: 0.9rem;
				color: var(--accent-color);
				font-weight: bold;
			}
		}


		.prod-id {
			svg {
				width: 1rem;
				height: 1rem;
				margin-left: 0.5rem;
				stroke: var(--accent-color2);
				vertical-align: middle;
			}
		}

		.price-box {
			.old-price {
				color: var(--texture-color-4);
				font-size: 0.9rem;
				font-weight: 500;
			}

			.price {
				font-size: 1.1rem;
				font-weight: 500;
			}
		}

		.count-wrapper {
			height: 0;
			overflow: hidden;
			background-color: var(--bg-1);
			border-radius: var(--radius-5);
			-webkit-border-radius: var(--radius-5);
			-moz-border-radius: var(--radius-5);
			-ms-border-radius: var(--radius-5);
			-o-border-radius: var(--radius-5);

			&.active {
				padding: 0.3rem;
				height: auto;
			}

			.basket-link {
				color: var(--Black);
				padding: 0.8rem;
				background: none;
				border: none;
				cursor: pointer;
			}

			.prod-count {
				.input-group {
					padding: 0.5rem !important;
					background-color: #fff;
					border-radius: var(--radius-5);
					-webkit-border-radius: var(--radius-5);
					-moz-border-radius: var(--radius-5);
					-ms-border-radius: var(--radius-5);
					-o-border-radius: var(--radius-5);

					.remove-item-from-basket {
						width: 1.5rem;
						height: 1.5rem;
						stroke: var(--warning-color-3);
						vertical-align: middle;
						cursor: pointer;
					}

					.input-group-text {

						display: inline-flex;
						vertical-align: middle;

						button {
							font-size: 1.5rem;
							padding: 0.5rem;
							line-height: 0;
							border: none;
							background-color: transparent;
							color: #144C35;
							cursor: pointer;
						}
					}

					input {
						width: 5rem;
						border: none !important;
						outline: none;
						background-color: transparent;
						text-align: center !important;
						font-size: 1rem;
						font-weight: bold;
					}
				}
			}
		}

		.addToBasket-clickable {
			padding: 0.8rem;
			background-color: var(--success-color-3);
			color: #fff;
			font-size: 0.9rem;
			font-weight: 500;
			border: none;
			width: 100%;
			border-radius: 5px;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			-ms-border-radius: 5px;
			-o-border-radius: 5px;
			cursor: pointer;

			svg {
				width: 20px;
				height: 20px;
				fill: var(--White);
			}
		}


		.btn-notifyme {
			border-radius: 5px;
			background-color: #fbfbfb;
			font-size: 1rem;
			color: var(--Black);
			margin-top: 0.5rem;
			padding: 0.8rem;

			svg {
				width: 1.2rem;
				height: 1.2rem;
				margin-left: 0.5rem;
				stroke: var(--accent-color3);
				vertical-align: middle;

				&.info {
					stroke: var(--CustomColor10);
				}
			}
		}
	}
}

.notification-form-modal {
	width: 400px !important;
	max-width: 100% !important;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	padding: 1.5rem !important;

	.notification-form {
		.input-group {
			position: relative;
			border: solid 1px #F1EEEE !important;
			display: flex;
			align-items: center;
			justify-content: start;
			gap: 0.2rem;
			border-radius: 5px;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			-ms-border-radius: 5px;
			-o-border-radius: 5px;
			padding: 0px 1rem;
			margin-bottom: 1rem;


			.form-control {
				width: 100%;
				height: 42px;
				border: none !important;
				outline: none;
				font-size: 1rem;
				padding: 0.5rem 0;
				resize: none;

				&::placeholder {
					color: #959595;
					font-size: 1rem;
					font-weight: normal;
				}

				&:disabled {
					background-color: transparent;
				}
			}

			svg {
				min-width: 1.8rem;
				width: 1.8rem;
				height: 1.8rem;
				stroke: #1B2C65;
				margin-left: 0.8rem;
			}
		}

		.btn {
			display: flex;
			align-items: center;
			border: none;
			padding: 0.5rem 1rem;
			border-radius: 5px;
			gap: 8px;
			background: var(--accent-color);
			color: #fff;
			margin: auto;
			cursor: pointer;

			svg {
				width: 1.2rem;
				height: 1.2rem;
				stroke: var(--accent-color3);
			}
		}
	}
}

.sections-wraper {
	margin-top: 5rem;

	.row-item {
		display: flex;
		align-items: start;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.icon-box {
		width: 4rem;
		min-width: 4rem;
		height: 4rem;
		background-color: #F5F5F5;
		border-radius: var(--radius);
		-webkit-border-radius: var(--radius);
		-moz-border-radius: var(--radius);
		-ms-border-radius: var(--radius);
		-o-border-radius: var(--radius);

		svg {
			width: 1.5rem;
			height: 1.5rem;
			stroke: var(--texture-color-1);
		}

		.anchor-tooltip {
			position: absolute;
			right: calc(100% + 1rem);
			top: 0;
			bottom: 0;
			background-color: var(--texture-color-1);
			padding: 1rem 3rem;
			border-radius: 5px;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			-ms-border-radius: 5px;
			-o-border-radius: 5px;
			font-size: 1rem;
			color: #fff;
			white-space: nowrap;
			transition: all 0.3s ease;
			-webkit-transition: all 0.3s ease;
			-moz-transition: all 0.3s ease;
			-ms-transition: all 0.3s ease;
			-o-transition: all 0.3s ease;

			&:before {
				content: '';
				position: absolute;
				top: calc(50% - 6px);
				left: 100%;
				border-top: 6px solid transparent;
				border-bottom: 6px solid transparent;
				border-left: 8px solid var(--texture-color-1);
			}
		}

	}

	.content-box {
		margin-top: 5.5rem;
		width: 100%;
		padding: 1.1rem;
		border: solid 1px var(--bg-1);
		border-radius: var(--radius);
		-webkit-border-radius: var(--radius);
		-moz-border-radius: var(--radius);
		-ms-border-radius: var(--radius);
		-o-border-radius: var(--radius);
	}

	.vidoe-box {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1rem;

		a {
			display: block;
		}

		video {
			border: solid 1px var(--bg-1);
			border-radius: var(--radius);
		}
	}

	.description-detail {
		font-size: 1rem;
		color: var(--Black);
		padding: 1.5rem;
	}

	.technical-list {
		padding: 1rem;

		.technical-item {
			display: inline-flex;
			vertical-align: top;
			align-items: start;
			justify-content: space-between;
			width: calc(50% - 0.5rem);
			gap: 6px;
			margin-bottom: 0.5rem;

			.technical-list-key,
			.technical-list-value {
				padding: 0.9rem;
				font-size: 1rem;
				color: var(--Black);

				svg {
					width: 1.5rem;
					min-width: 1.5rem;
					height: 1.5rem;
					fill: var(--secondary-color-light-1);
				}

				span {
					font-size: 1.1rem;
				}
			}

			.technical-list-key {
				width: 25%;
				min-width: max-content;
				background-color: var(--bg-1);
				border-radius: var(--radius);
				-webkit-border-radius: var(--radius);
				-moz-border-radius: var(--radius);
				-ms-border-radius: var(--radius);
				-o-border-radius: var(--radius);
			}

			.technical-list-value {
				width: 75%;
				border-radius: 5px 0px 0px 5px;
				font-size: 0.9rem;
			}

			.technical-customlist {
				li {
					display: inline-block;
					vertical-align: middle;
					margin-left: 0.4rem;

					&:after {
						content: '،';

					}

					&:last-child {
						&::after {
							display: none;
						}
					}
				}
			}

		}

		.technical-specificlist {
			li {
				list-style: none;

				.seprator {
					margin-left: 0.2rem;
				}

				&:last-child {
					.seprator {
						display: none;
					}
				}
			}
		}

		@media(max-width:960px) {
			.technical-item {
				width: calc(100%);
			}
		}
	}

	.comments-form {
		.sec-title {
			display: block;
			color: var(--Black);
			font-size: 1.1rem;
			margin-bottom: 1rem;
		}

		.field-holder {
			position: relative;
			border: solid 1px #F1EEEE !important;
			background-color: #fff;
			display: flex;
			align-items: center;
			justify-content: start;
			flex-direction: row;
			padding: 0px 1rem;
			margin-bottom: 1rem;

			svg {
				min-width: 1.3rem;
				width: 1.3rem;
				height: 1.3rem;
				stroke: var(--accent-color2);
				margin-left: 0.8rem;
			}

			.form-control {
				width: 100%;
				height: 42px;
				border: none !important;
				outline: none;
				font-size: 1rem;
				padding: 0.5rem 0;
				resize: none;

				&::placeholder {
					color: #959595;
					font-size: 1rem;
					font-weight: normal;
				}

				&:disabled {
					background-color: transparent;
				}
			}

			textarea {
				min-height: 150px;
			}
		}

		.rating-in-comment {
			.caption {
				color: var(--Black);
			}
		}

		.submit-btn {
			font-size: 1rem;
			color: #fff;
			border: none;
			padding: 0.5rem 2rem;
			border-radius: 5px;
			background-color: var(--accent-color);
			cursor: pointer;

		}
	}

	@media(max-width: 760px) {
		.row-item {
			flex-direction: column;
		}

		.content-box {
			margin-top: 1rem;
		}
	}
}

.similar-products-section,
.purchased-products-section {
	width: 100%;
	padding: 0.4rem;
	border-radius: var(--radius);
	-webkit-border-radius: var(--radius);
	-moz-border-radius: var(--radius);
	-ms-border-radius: var(--radius);
	-o-border-radius: var(--radius);
	background-color: var(--secondary-color-light-3);

	.swiper-slide {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		min-height: 23.7rem;
		border-radius: var(--radius);
		-webkit-border-radius: var(--radius);
		-moz-border-radius: var(--radius);
		-ms-border-radius: var(--radius);
		-o-border-radius: var(--radius);
		background-color: white;
		padding: 0.4rem;

		.img-box {
			margin-bottom: 0.8rem;

			img {
				border-radius: var(--radius);
				-webkit-border-radius: var(--radius);
				-moz-border-radius: var(--radius);
				-ms-border-radius: var(--radius);
				-o-border-radius: var(--radius);
			}
		}

		.title {
			font-size: 1rem;
			text-align: right;
			min-height: 3.7rem;
			line-height: 1.8;
			margin-bottom: 0.8rem;
		}

		.price-box {
			min-height: 4rem;

			strong {
				color: var(--texture-color-1);
				font-size: 0.9rem;
				font-weight: 500;
			}

			strike {
				color: var(--texture-color-4);
				font-size: 0.9rem;
				font-weight: 500;
			}
		}


		.discount {
			position: absolute;
			top: 0;
			left: 0;
			width: 30px;
			height: 30px;
			background-color: var(--warning-color-2);
			border-radius: 50%;
			font-size: 0.8rem;
			color: #fff;
		}
	}
}

.purchased-products-section {
	background-color: var(--accent-color-dark-1);
}

.unavailable-box {
	.unavailable-title {
		color: var(--warning-2);
	}

	.unavailable-message {}

	.prod-btn {
		width: 3.66rem;
		min-width: 3.66rem;
		height: 3.66rem;
		border-radius: 50%;
		background: var(--secondary-color-light-1);

		svg {
			vertical-align: middle;
			width: 1.5em;
			height: 1.5em;
			fill: var(--White);
			stroke: var(--White);
			font-size: medium;
		}
	}

	.btn-makeavailable {
		padding: 0.8rem 1rem;
		border: none;
		border-radius: var(--radius-5);
		-webkit-border-radius: var(--radius-5);
		-moz-border-radius: var(--radius-5);
		-ms-border-radius: var(--radius-5);
		-o-border-radius: var(--radius-5);
	}
}

.bottom-menu {
	width: 68rem;
	max-width: 100%;
	margin: 2rem auto;
	gap: 2rem;

	.bottom-menu-item {
		min-width: max-content;
		text-align: center;

		.img-box {
			width: 70px;
			height: 70px;
			margin: 0 auto 24px;
		}

		.title {
			font-size: 1rem;
			color: black;
		}
	}
}

@media(max-width:960px) {
	.technical-list {
		display: block;

		.technical-item {
			width: 100%;
			margin-bottom: 0.5rem;
		}
	}
}