/* Prevent Scroll when modal is active */
body.age-restriction-active {
    overflow: hidden !important;
    height: 100vh;
}

.cav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.75); /* Dark overlay from screenshot */
    z-index: 999999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.cav-modal {
    position: relative;
    width: 90%;
    max-width: 700px;
    background: #f9f8f5; /* Off-white background */
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* The Hills shape - Use your Hill SVG here */
.cav-hills-top {
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('hills-top.png') no-repeat center bottom;
    background-size: contain;
}

.cav-hills-bottom {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('hills-bottom.png') no-repeat center top;
    background-size: contain;
    transform: rotate(180deg);
}

.cav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cav-grapes {
	position: absolute;
    left: 5%;
    width: 120px;
}

.cav-text-box h1 {
    font-family: "Cormorant Garamond", serif; /* Use a serif font */
    font-size: 3.5rem;
    color: #444;
    margin-bottom: 15px;
}

.cav-text-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

#cav-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#cav-yes {
    background: none;
    border: none;
    color: #b38e5d; /* Gold color from screenshot */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

#cav-no {
    background: none;
    border: none;
    color: #444;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
}

#cav-no:hover { text-decoration: underline;  color: #b38e5d; box-shadow: none;}
#cav-yes:hover { text-decoration: underline; box-shadow: none;}