:root {
    --premium-gold: #C5A059;
    --premium-gold-dark: #B08D4B;
    --hero-navy: #0F172A;
    --body-bg: #F8FAFC;
}

/* Global Fixes for Mobile Overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: #1F2937;
}

.gold-button {
    background-color: var(--premium-gold);
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}
.gold-button:hover, .gold-button:focus {
    background-color: var(--premium-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(197, 160, 89, 0.3);
}

@keyframes fade-in-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-slide-up {
    animation: fade-in-slide-up 1s ease-out forwards;
}

/* Widget Styles */
.modal-open { overflow: hidden; }
.modal-overlay {
    position: fixed; top: 0; left: 0; z-index: 10000;
    display: flex; height: 100%; width: 100%;
    align-items: center; justify-content: center;
    background-color: rgba(15, 23, 42, 0.8); /* Navy overlay */
    padding: 1rem; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { pointer-events: auto; opacity: 1; }

.modal-content {
    position: relative; width: 100%; max-width: 600px;
    max-height: 95vh; overflow-y: auto;
    transform: scale(0.95); border-radius: 1rem;
    background-color: #FFFFFF; color: #1F2937;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 1rem; /* Reduced padding for mobile to prevent content squeeze */
        width: 95%; /* Use more width on small screens */
        margin: 0 auto;
    }
}

.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close-btn {
    position: absolute; top: 1rem; right: 1rem;
    cursor: pointer; font-size: 1.5rem; color: #9CA3AF;
}

/* Chips Grid - Responsive Fix */
.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.chip-button {
    flex: 1 1 auto; /* Grow to fill space */
    min-width: 100px; /* Minimum width */
    background-color: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: #374151;
    padding: 0.75rem 0.5rem; /* Increased vertical padding for touch targets */
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.chip-button:hover {
    border-color: var(--premium-gold);
    background-color: #FEFCE8;
}
.chip-button.selected {
    background-color: var(--premium-gold);
    color: white;
    border-color: var(--premium-gold);
    box-shadow: 0 4px 6px -1px rgba(197, 160, 89, 0.4);
}

.widget-input {
    width: 100%; padding: 0.75rem; margin-bottom: 1rem;
    border-radius: 0.5rem; background-color: #F9FAFB;
    border: 1px solid #D1D5DB; color: #111827; outline: none;
}
.widget-input:focus {
    border-color: var(--premium-gold);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 1.5rem; /* right-6 equivalent */
    right: 1.5rem;  /* right-6 equivalent */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
