#subscribe-modal {
    width: 380px;
    min-height: 170px;

    box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.08);
    background: #fff;

    border-radius: 6px;
    padding: 24px;

    right: 25px !important;
    bottom: 25px !important;
    position: fixed !important;
    z-index: 10;

    opacity: 0;
    visibility: hidden; /* Hides it visually and from interaction */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Define transition properties */
    
	display: flex;
	flex-direction: column;
	row-gap: 8px;
	justify-content: space-around;
}

#subscribe-modal.active {
    /* display: block; */

    opacity: 1;
    visibility: visible;
}

.subscribe-modal__header {
    display: flex;
    justify-content: space-between;

    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
}

#subscribe-modal-close {
    display: inline-block;
    width: 13px;
    height: 13px;
    aspect-ratio: 1;
    margin-left: 10px;

    background-image: url(../icons/subscribe-modal-close.svg);
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;
}

.subscribe-modal__body {
    font-size: 14px;
}

.subscribe-modal__form-elements {
    display: grid;
    grid-template-columns: 1fr 118px; /* 1fr вместо auto - явно указываем */
    column-gap: 7px;
}

.subscribe-modal__form-elements input[type=email] {
    height: 40px;
    width: 100%; /* занимает всю ширину своей колонки */
    background: #f2f2f2;
    border-radius: 6px;
    border: 0 none;
    padding: 0 16px;
    box-sizing: border-box; /* важно! padding не увеличивает ширину */
}

.subscribe-modal__form-elements input[type=email]::placeholder {
    opacity: 0.6;
    font-size: 14px;
}

.subscribe-modal__form-submit {
    cursor: pointer;
    background: #911504;
    border-radius: 4px;
    border: 0 none;
    padding: 0;
    font-size: 14px;
    color: #fff;
    height: 40px; /* фиксированная высота как у поля */
    width: 100%; /* займет всю ширину своей колонки (118px) */
    display: flex;
    flex-direction: column;
    justify-content: center; /* вместо space-around */
    align-items: center;
    line-height: 14px;
    box-sizing: border-box;
}

.subscribe-modal__form-confirm {
  margin-top: 12px;
}
.subscribe-modal__form-confirm label {
  font-size: 12px;
  line-height: 1.4;
}