.cs-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.cs-age-gate.is-active {
    display: block;
}

.cs-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.cs-age-gate__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 460px);
    margin: 10vh auto 0;
    background: #fff;
    padding: 32px 28px;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    text-align: center;
}

.cs-age-gate__title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.1;
    color: #222;
}

.cs-age-gate__text {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.cs-age-gate__form label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: #333;
}

.cs-age-gate__dob-row {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 10px;
}

.cs-age-gate__dob-row select {
	width: 100%;
	min-height: 52px;
	padding: 12px 42px 12px 14px;
	border: 1px solid #6d9f2d;
	border-radius: 0;
	box-sizing: border-box;
	font-size: 15px;
	background-color: #fff;
	color: #222;

	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
	background-size: 12px 8px;
}

.cs-age-gate__message {
    min-height: 22px;
    margin-top: 12px;
    font-size: 14px;
    color: #b42318;
    text-align: left;
}

.cs-age-gate__actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cs-age-gate__btn {
    flex: 1 1 0;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.cs-age-gate__btn--confirm {
    border: 1px solid #315c01;
    background: #3b7e01;
    color: #fff;
}

.cs-age-gate__btn--leave {
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #333;
}

body.cs-age-gate-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .cs-age-gate__dialog {
        margin-top: 8vh;
        padding: 24px 18px;
    }

    .cs-age-gate__dob-row {
        grid-template-columns: 1fr;
    }

    .cs-age-gate__dob-row select {
        padding-right: 40px;
    }

    .cs-age-gate__actions {
        flex-direction: column;
    }
}

.cs-age-gate__fieldset {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-inline-size: 0;
}

.cs-age-gate__legend {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

.cs-age-gate__dob-row {
    margin-top: 0;
}
