/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
#main-container .site-main{
	
    -o-border-image: url(https://oldschoolrituals.in/cdn/shop/files/bg-border-updated-2.svg?v=1703840916) 79 round;
    border-image: url(https://oldschoolrituals.in/cdn/shop/files/bg-border-updated-2.svg?v=1703840916) 79 round;
    -webkit-border-image: url(https://oldschoolrituals.in/cdn/shop/files/bg-border-updated-2.svg?v=1703840916) 79 round;
    -moz-border-image: url(https://oldschoolrituals.in/cdn/shop/files/bg-border-updated-2.svg?v=1703840916) 79 round;
    border-width: 73px;
    border-color: #fff0;
    border-style: solid;
    border-left: 73px solid;
    border-right: 73px solid;
    border-bottom: 0;
    border-top: 73px solid;

}

/* ===============================
   Aadima Upsell Modal
================================= */

#aadima-upsell-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:999999;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.aadima-modal-box{
    width:450px;
    max-width:100%;
    background:#FFFDF7;
    border-radius:22px;
    padding:35px;
    position:relative;
    box-shadow:0 25px 70px rgba(0,0,0,.18);
    animation:aadimaPopup .25s ease;
}

@keyframes aadimaPopup{
    from{
        opacity:0;
        transform:translateY(15px) scale(.96);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.aadima-close{
    position:absolute;
    top:16px;
    right:20px;
    font-size:28px;
    cursor:pointer;
    color:#6B5447;
}

.aadima-modal-box h2{
    margin:0 0 15px;
    color:#6B5447;
    font-size:32px;
    font-weight:700;
}

.aadima-modal-box p{
    color:#555;
    line-height:1.6;
}

.aadima-options{
    display:flex;
    gap:15px;
    margin:30px 0;
}

.aadima-option{
    flex:1;
    border:1px solid #ddd;
    border-radius:16px;
    padding:18px;
    background:#fff;
    position:relative;
}

.aadima-option h3{
    margin:0 0 8px;
}

.featured{
    border:2px solid #B08B47;
    background:#FFF8E7;
}

.badge{
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:#B08B47;
    color:#fff;
    font-size:11px;
    padding:5px 10px;
    border-radius:20px;
    font-weight:600;
}

.aadima-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.aadima-primary,
.aadima-secondary{
    display:block;
    text-align:center;
    text-decoration:none;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}

.aadima-primary{
	padding-top:10px;
    position:relative;
    overflow:hidden;
    background:#6B5447;
    color:#fff;
    display:block;
    text-align:center;
    text-decoration:none;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}

/* Moving glare */
.aadima-primary::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:50%;
    height:100%;
    background:linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,.15) 35%,
        rgba(255,255,255,.75) 50%,
        rgba(255,255,255,.15) 65%,
        transparent 100%
    );
    transform:skewX(-25deg);
    animation:aadimaGlare 3.5s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes aadimaGlare{
    0%{
        left:-120%;
    }
    18%{
        left:140%;
    }
    100%{
        left:140%;
    }
}

.aadima-primary:hover{
    background:#564338;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(107,84,71,.28);

}

.aadima-secondary{
    border:1px solid #6B5447;
    color:#6B5447;
    background:#fff;
}

.aadima-secondary:hover{
    background:#f7f2eb;
}


/* Mobile */
@media (max-width:768px){
    #aadima-upsell-modal{
        padding:20px;
        align-items:center;
        justify-content:center;
    }
    .aadima-modal-box{
        width:90vw;
        max-width:420px;
        padding:24px;
        border-radius:22px;
        position:relative;
        bottom:auto;
    }
    .aadima-modal-box h2{
        font-size:26px;
        margin-bottom:10px;
    }
    .aadima-modal-box p{
        font-size:15px;
        line-height:1.55;
        margin-bottom:18px;
    }
    .aadima-options{
        flex-direction:row;
        gap:12px;
        margin:20px 0;
    }
    .aadima-option{
        padding:16px 12px;
    }
    .aadima-option h3{
        font-size:22px;
        margin-bottom:6px;
    }
    .aadima-option p{
        font-size:13px;
        margin:0;
    }
    .badge{
        font-size:9px;
        padding:4px 4px;
		top:-13px !important;
    }
    .aadima-buttons{
        gap:10px;
    }
    .aadima-primary,
    .aadima-secondary{
        padding:14px;
        font-size:15px;
    }
}

.aadima-language-toggle{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-bottom:20px;
	margin-right:20px;
}

.aadima-language-toggle button{
    border:none;
    background:#EFE8DD;
    color:#6B5447;
    padding:8px 14px;
    border-radius:999px;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    transition:.25s;
}

.aadima-language-toggle button.active{
    background:#6B5447;
    color:#fff;
}

/* Malayalam popup text */
.aadima-lang-ml h2{
    font-size: 28px; /* Adjust as needed */
}

.aadima-lang-ml p{
    font-size: 14px;
    line-height: 1.7;
}

.aadima-lang-ml strong{
    font-size: 14px;
}

.aadima-options-ml h3{
    font-size: 20px;
}

.aadima-options-ml p{
    font-size: 12px;
}

.aadima-options-ml strong{
    font-size: 13px;
}

.aadima-btn-ml{
    font-size: 14px;
}
