.traditional-border {
    border: 8px solid transparent;
    border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%239E0023" stroke-width="8" stroke-dasharray="10,10"/></svg>') 10;
}

.kolam-overlay {
    background-image: radial-gradient(circle, rgba(158, 0, 35, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.shadow-strong {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFBEB;
}



.ornament {
    position: relative;
    display: inline-block;
}

.ornament:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9E0023;
    opacity: 0.3;
}

.input-focus:focus {
    border-color: #9E0023;
    box-shadow: 0 0 0 1px #9E0023;
}

.gallery-item {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(158, 0, 35, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    #paypal-container {
        min-width: 100%;
        position: relative;
        z-index: 100;
    }

    /* Target PayPal iframes specifically */
    #paypal-container iframe {
        min-width: 100% !important;
        height: 45px !important;
        transform: translateZ(0);
        /* Force hardware acceleration */
    }

    /* Ensure clickable area is large enough */
    .paypal-button-container {
        min-height: 45px !important;
        min-width: 100% !important;
    }
}

/* Ensure proper sizing */
#paypal-container {
    min-height: 45px;
}

/* Loading spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Prevent touch highlights */
* {
    -webkit-tap-highlight-color: transparent;
}

.line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroller-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.scroller-track {
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.scroller-track:hover {
    animation-play-state: paused;
}