/* --- Стили для модального окна --- */
.gsheet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.gsheet-modal-window {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
	background: linear-gradient(235.94deg, rgba(254, 252, 255, 0.9) 10.17%, rgba(255, 255, 255, 0.9) 100%);
	border: 2px solid #EBD8FF;
	box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
	border-radius: 24px;
	font-size: 16px;
}

.gsheet-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    color: #EBD8FF;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    cursor: pointer;
    border: none;
    background: transparent;
}

.gsheet-modal-close:hover {
    opacity: 1;
}

/* --- Стили для кнопок +/- в форме --- */
.quantity-input {
    display: flex;
    align-items: center;
}

.quantity-input .wpcf7-form-control-wrap {
    margin: 0;
}

.quantity-input input[type="number"] {
    text-align: center;
    border-left: 0;
    border-right: 0;
    margin: 0 !important;
    width: 60px;
    -moz-appearance: textfield;
    border-radius: 0;
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input button {
    height: 45px;
    width: 40px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    padding: 0;
    font-size: 1.5em;
    line-height: 1;
}

.quantity-input button:hover {
    background: #f0f0f0;
}

.quantity-input .quantity-minus {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.quantity-input .quantity-plus {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
/* --- Стили для кнопки в модальном окне --- */
.gsheet-modal-content .button {
    display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
	background: linear-gradient(93.26deg, #9E4FF8 0%, #963AFF 18.43%, #BC80FF 47.94%, #973CFF 77.76%, #9E4FF8 98.41%);
	box-shadow: inset 0px 24.665px 70.7062px #AE66FF, inset 0px -24.665px 39.464px #B16DFF;
	border-radius: 8px;
	margin: 28px auto 0;
	max-width: 236px;
}