.sec-product {
	padding: 20px 0;
}

/* product detail */
.product-image {}

.product-image__for-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;

}

.product-image__for-item::before {
	/* content: ""; */
	padding-top: 100%;
	/* display: block; */
}

.product-image__for-item img {
	/* position: absolute; */
	/* left: 0; */
	/* top: 0; */
	width: 100%;
	/* height: 100%; */
	/* object-fit: cover; */
}

.product-image__nav-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;

}

.product-image__nav-item::before {
	content: "";
	padding-top: 100%;
	display: block;
}

.product-image__nav-item img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.modal-overlayyy {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 101;
    justify-content: center;
    align-items: center;
    /* display: flex; */
}

.modal-overlayyy .modal-content {
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 645px;
    width: 90%;
    animation: fadeIn 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--color-main2);
}

.modal-overlayyy .modal-header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.modal-overlayyy .modal-content form {
    padding: 25px;
    background-color: #FFF;
}

.modal-overlayyy .modal-header h2 {
    font-size: 20px;
    color: #FFF;
	line-height: 1.9;
}

.modal-overlayyy .close-btn-modal svg {
    width: 20px;
    height: 20px;
}

.modal-overlayyy .close-btn-modal svg path {
    fill: #FFF;
}

.modal-overlayyy .form-group {
    margin-bottom: 15px;
}

.modal-overlayyy input,
.modal-overlayyy select,
.modal-overlayyy textarea {
    color: #333;
    padding: 10px;
    border: 1px solid #ebe6e7;
    height: 46px;
    width: 100%;
    resize: none;
    font-size: 14px;
    font-family: inherit !important;
    border-radius: 5px;
}

.modal-overlayyy textarea {
    height: unset;
}

.modal-overlayyy .submit {
    font-size: 16px;
    margin: 0 auto;
    display: block;
    font-weight: 500;
    border-radius: 5px;
    padding: 10px 30px;
    background: var(--color-main2);
    color: #FFF;
    transition: .3s;
}

.modal-overlayyy textarea:focus-visible {
	border: 1px solid #ebe6e7;
}

.modal-overlayyy .name-product {
	margin-bottom: 15px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 992px) {
	.product-image__nav-item:not(:last-child) {
		margin-bottom: 5px;
	}

	.product-image {
		flex-direction: row-reverse;
	}
}
