🍪
🍃 Your Privacy Matters to Us!
We use cookies to improve your DAD Ayurveda
website experience. Some cookies are necessary for our
website and services to function properly. Other cookies
are optional and help personalize your experience,
including advertising and analytics.
You can consent to all cookies, decline all optional
cookies, or manage your preferences. Without a selection,
optional cookies will remain disabled. You can change
your preferences at any time.
📖 Read Our Cookie Policy
✅ Accept All
❌ Reject Optional
⚙️ Customize
⚙️ Cookie Preferences
Essential Cookies (Always Active)
📊 Analytics Cookies
📢 Advertising & Personalization Cookies
💾 Save My Preferences
🌿 DAD Ayurveda | Healthy Living, Natural Healing
×
#dad-cookie-banner {
position:fixed;
bottom:20px;
left:20px;
right:20px;
z-index:999999;
font-family:Arial,sans-serif;
display:none;
}
.dad-cookie-box {
max-width:1050px;
margin:auto;
padding:25px;
background:linear-gradient(135deg,#ffffff,#f1f9ef);
border:1px solid #d9ead4;
border-radius:18px;
box-shadow:0 10px 40px rgba(0,0,0,.18);
display:flex;
gap:18px;
position:relative;
color:#344334;
}
.dad-cookie-icon {
font-size:42px;
flex-shrink:0;
}
.dad-cookie-content { flex:1; }
.dad-cookie-content h2 {
color:#176b35;
font-size:23px;
margin:0 0 12px;
}
.dad-cookie-content p {
font-size:14px;
line-height:1.7;
margin:8px 0;
}
.dad-cookie-policy {
display:inline-block;
color:#16733a;
font-weight:bold;
margin:10px 0;
text-decoration:none;
}
.dad-cookie-policy:hover {text-decoration:underline;}
.dad-cookie-actions {
display:flex;
flex-wrap:wrap;
gap:10px;
margin:14px 0;
}
.dad-btn {
border:0;
border-radius:8px;
padding:12px 19px;
font-size:13px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}
.dad-btn:hover {
transform:translateY(-2px);
opacity:.9;
}
.dad-accept {
background:#16743a;
color:white;
}
.dad-reject {
background:#e8eeee;
color:#344;
border:1px solid #cbd8d0;
}
.dad-custom {
background:#f4bd43;
color:#302609;
}
#dad-cookie-settings {
background:#fff;
border:1px solid #dce9dc;
padding:15px;
border-radius:10px;
margin-top:12px;
}
#dad-cookie-settings h3 {
color:#176b35;
}
#dad-cookie-settings label {
display:block;
margin:12px 0;
font-size:14px;
}
#dad-cookie-settings input {
margin-right:8px;
accent-color:#16743a;
}
.dad-cookie-content small {
color:#6a796a;
display:block;
margin-top:12px;
}
.dad-cookie-close {
position:absolute;
right:12px;
top:8px;
background:none;
border:0;
font-size:25px;
cursor:pointer;
color:#555;
}
@media(max-width:600px) {
#dad-cookie-banner {
left:8px;
right:8px;
bottom:8px;
}
.dad-cookie-box {
padding:18px 14px;
gap:10px;
max-height:85vh;
overflow-y:auto;
}
.dad-cookie-icon {font-size:27px;}
.dad-cookie-content h2 {font-size:19px;}
.dad-cookie-content p {font-size:12px;}
.dad-cookie-actions {
flex-direction:column;
}
.dad-btn {width:100%;}
}
(function(){
const banner = document.getElementById('dad-cookie-banner');
function getConsent(){
try {
return JSON.parse(localStorage.getItem('dad_cookie_consent'));
} catch(e) {
return null;
}
}
function showBanner(){
if(!getConsent()) banner.style.display='block';
}
window.dadCookieAccept = function(){
saveConsent({
essential:true,
analytics:true,
advertising:true
});
};
window.dadCookieReject = function(){
saveConsent({
essential:true,
analytics:false,
advertising:false
});
};
window.dadCookieCustomize = function(){
document.getElementById('dad-cookie-settings').style.display='block';
};
window.dadCookieSave = function(){
saveConsent({
essential:true,
analytics:document.getElementById('dad-analytics').checked,
advertising:document.getElementById('dad-advertising').checked
});
};
function saveConsent(consent){
localStorage.setItem('dad_cookie_consent',JSON.stringify({
...consent,
updatedAt:new Date().toISOString()
}));
banner.style.display='none';
window.dispatchEvent(new CustomEvent('dadCookieConsentChanged',{
detail:consent
}));
}
showBanner();
})();