﻿.productdetail {
    svg {
        width: 1rem;
    }

    .product-description * {
        line-height: 2rem;
    }

    .product-description p {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        max-height: 6em;
        position: relative;
    }

    .product-description.expanded {
        p {
            max-height: none;
            line-clamp: unset;
            -webkit-line-clamp: unset;
        }

        svg {
            transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -o-transform: rotate(180deg);
        }
    }

    .attributes-group-items {
        margin-top: 1rem;

        &.size {
            .attribute-select {
                &.active {
                    border-color: var(--accent-color) !important;
                }
            }
        }

        &.color {
            .item {

                .attribute-select {
                    display: flex;
                    align-items: center;

                    .radio-style {
                        position: relative;
                        width: 1.07rem;
                        height: 1.07rem;
                        display: inline-block;
                        vertical-align: top;
                        position: relative;
                        margin: 0;
                        cursor: pointer;
                        border: 1px solid var(--accent-color-5);
                        border-radius: 50%;
                        background: var(--White);
                        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;
                        -webkit-border-radius: 50%;
                        -moz-border-radius: 50%;
                        -ms-border-radius: 50%;
                        -o-border-radius: 50%;

                        &:before {
                            content: '';
                            position: absolute;
                            width: 5px;
                            height: 9px;
                            border: 1px solid var(--White);
                            border-top: 0;
                            border-left: 0;
                            left: 5px;
                            top: 2px;
                            transform: rotate(45deg);
                        }
                    }

                    .color-box {
                        display: block;
                        width: 2rem;
                        height: 2rem;
                    }

                    &.active {
                        .radio-style {
                            background: var(--success-2);
                            border-color: var(--success-2) !important;

                            &:before {}
                        }
                    }
                }
            }
        }
    }

    .touchspincount {
        button {
            background: var(--White);
            border: none;
            cursor: pointer;
            padding: 0.02rem 1rem;
            border-left: none;
            font-size: 1.5rem;
        }

        .bootstrap-touchspin {
            display: inline-flex !important;
            flex-direction: row-reverse;
            justify-content: start;
            border-radius: var(--radius-5);
            margin-top: 1rem;
            overflow: hidden;
            border: 1px solid var(--accent-color-7);
        }

        input {
            border: 1px solid #D0DEDD !important;
            border-top: 0 !important;
            border-bottom: 0 !important;
            width: 3rem;
            height: 2.3rem;
            text-align: center !important;
            outline: none;
        }
    }

    .bg-success-4 {
        background: #17892A;
    }

    .addToBasket {
        svg {
            vertical-align: middle;
            width: 1.5em;
            height: 1.5em;
            fill: var(--White);
            stroke: var(--White);
            font-size: medium;
            transform: rotateY(180deg);
            -webkit-transform: rotateY(180deg);
            -moz-transform: rotateY(180deg);
            -ms-transform: rotateY(180deg);
            -o-transform: rotateY(180deg);
            cursor: pointer;
        }

        &.btn-disabled {
            background: var(--accent-color4);
            cursor: default;
        }
    }

    .model-options {
        .prod-btn {
            width: 3.66rem;
            min-width: 3.66rem;
            height: 3.66rem;
            border-radius: 50%;

            svg {
                vertical-align: middle;
                width: 1.5em;
                height: 1.5em;
                fill: var(--Black);
                stroke: var(--Black);
                font-size: medium;
            }

            &.addtowish {
                &.active {
                    svg {
                        stroke: var(--warning-1);
                    }
                }
            }
        }
    }


    .discount {
        height: 30px;
        border-radius: 1rem;
    }

    .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);
        }
    }

}

.similar-holder,
.purchase-holder {
    width: 100%;
    padding: 0.4rem;
    margin-top: 1rem;
    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);

    .main-title {
        font-size: 1.15rem;
        color: var(--accent-color);
        font-weight: bold;
        margin-bottom: 1.5rem;
    }

    .title-row {
        margin-bottom: 1.3rem;

        .title {
            font-size: 1.1rem;
            color: var(--accent-color2);
        }

        .slider-controller {
            .navigation {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 1.6rem;
                height: 1.6rem;
                cursor: pointer;

                svg {
                    width: 14rem;
                    height: 1.4rem;
                    display: block;
                    stroke: var(--accent-color2);
                }

                &.swiper-button-disabled {
                    cursor: default;

                    svg {
                        stroke: var(--accent-color-5);
                    }
                }
            }
        }

    }

    .swiper-slide {
        padding: 0.55rem;
    }
}

.purchase-holder {
    margin-top: 1.4rem;
}

.count-wrapper {
    height: 0;
    overflow: hidden;
    background-color: var(--f5);
    border-radius: var(--b-radius);
    -webkit-border-radius: var(--b-radius);
    -moz-border-radius: var(--b-radius);
    -ms-border-radius: var(--b-radius);
    -o-border-radius: var(--b-radius);
    &.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);
            border-radius: var(--b-radius);
            
            
            
            
            
            

            .remove-item-from-basket {
                width: 2rem;
                height: 2rem;
                padding: 0.4rem;
                stroke: var(--error2);
                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;
            }
        }
    }
}

#notavailable {
    color: var(--warning-2);
}

.unavailable-box {
    .unavailable-title {
        color: var(--warning-2);
    }


    .prod-btn {
        width: 3.66rem;
        min-width: 3.66rem;
        height: 3.66rem;
        border-radius: 50%;

        svg {
            vertical-align: middle;
            width: 1.5em;
            height: 1.5em;
            fill: var(--Black);
            stroke: var(--Black);
            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);
    }
}


.addToBasket-clickable {
    padding: 0.8rem;
    background-color: var(--button-color);
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    border: none;
    width: 100%;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    cursor: pointer;

    svg {
        width: 20px;
        height: 20px;
        fill: var(--White);
    }
}

.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: 18px;
                width: 18px;
                height: 15px;
                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(--White);
            }
        }
    }
}
.sections-wraper {
	margin-top: 5rem;

	.row-item {
		display: flex;
		align-items: start;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.content-box {
		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);
	}
    .tab-menu {
        li{
            padding: 0.5rem 1rem;
            border-radius: var(--b-radius);
            cursor:pointer;
            transition:all .3s ease;
        &.active,&:hover{
            background: var(--darken-color-3);
             color: var(--White);
          
        }
            } 
    }
       
	

	.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: 100%;
			gap: 6px;
			margin-bottom: 0.5rem;
			border-radius:var(--b-radius);
			&:nth-child(odd) {
				background: var(--primary-light-color-4);
			}

			.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;
		}
	}
}
