/* actie.css */ 

#popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* semi-donkere overlay */
    z-index: 9998;
}

#popup::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.5); /* witte semi-transparante laag */
    z-index: 1;
}
#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-out;
    background-color: #fff;
    z-index: 99999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    max-height: 600px;
    width: 90%;
    height: 90%;
}
#popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}


#popup{
    height: 90%;
    width: 90%;
    max-height: 600px;
    max-width: 600px;
}

#poptext p, #poptext h1, #poptext h3, #closeBtn, #forgetBtn{
/*	   color: white;	*/
        color: black;
}
#poptext h1 {
	font-size: 1.5em;	
}
#poptext h3 {
	font-size: 0.75em;	
}

#poptext{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
width: 80%;	
position: relative;
    z-index: 2; /* hoger dan ::before */
}

#kortingscode{
	padding: 1em;
	text-align: center;
	border: 2px solid white;
	color: white;
	font-size: 1.25em;
    margin: 0 0 1em 0;
    border-radius: 10px;
/*    background-color: #00000081;*/
    background-color: var(--tpd-col-pink);
}

#closeBtn, #forgetBtn{
		position: absolute;
		font-size: 3em;
		cursor: pointer;
        z-index:9999;
    }

#closeBtn{
    top:0.5em;
    right:0.5em;
}
#forgetBtn{
        right: 1em;
		bottom: 1em;
		font-size: 0.75em;
    }

#popup .wp-element-button{
    width: 100%;
    background-color: var(--tpd-col-green) !important;
}

#sticky-kortingsregel {
    position: sticky;
    top: 0;
/*    z-index: 9999;*/
    background: #f7a700;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    #sticky-kortingsregel {
        font-size: 14px;
        padding: 8px 10px;
    }
}

