/* Sticky Header Adjustment */
.navbar {
    /* Ensures it matches your base theme's sticky behavior */
    z-index: 1050;
}

/* Prevents content from being hidden behind the sticky navbar */
main {
    padding-top: 100px;
}

/* Specific styles for interactive form elements */
.style-card {
    cursor: pointer;
    border: 1px solid rgba(2, 52, 48, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    position: relative;
}

.style-card:hover {
    border-color: var(--champagne-gold);
    transform: translateY(-5px);
}

.style-card input {
    position: absolute;
    opacity: 0;
}

/* When Radio is Selected */
.style-card:has(input:checked) {
    border: 2px solid var(--champagne-gold);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
}

.style-card:has(input:checked)::after {
    content: "\b1";
    /* Bootstrap Icon Check code */
    font-family: "bootstrap-icons";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--champagne-gold);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.style-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.step-number {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--champagne-gold);
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.field-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: var(--emerald-dark);
    letter-spacing: 0.5px;
}

.custom-input {
    border: none !important;
    border-bottom: 1px solid rgba(2, 52, 48, 0.15) !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    background: transparent !important;
    font-size: 1.1rem;
}

.custom-input:focus {
    box-shadow: none !important;
    border-bottom: 2px solid var(--emerald-dark) !important;
}

footer {
    /* change text color to match theme */
    color: var(--emerald-dark);
    border-radius: 0 0 0 0 !important;
}

#responseModal .modal-content {
    background-color: #FAF9F6; /* Soft Ivory */
}

#responseModal .text-success {
    color: var(--emerald-dark) !important; /* Use your brand green for success */
}

#responseModal .text-danger {
    color: #bc4749 !important;
}

.btn-premium {
    background: var(--emerald-dark);
    color: white;
    border-radius: 100px;
    border: none;
    transition: 0.3s;
}

.btn-premium:hover {
    background: var(--champagne-gold);
    color: white;
}

@media (max-width: 768px) {

    /* Create a horizontal scroll container on mobile */
    .mobile-scroll-row {
        display: flex !important;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        gap: 15px;
        margin-left: -15px;
        /* Bleed to edge of screen */
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    .mobile-scroll-row::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome/Safari */
    }

    .mobile-scroll-row .col-md-4 {
        flex: 0 0 85%;
        /* Shows 85% of the card so the next one peaks out */
        scroll-snap-align: center;
    }

    .style-card img {
        height: 180px;
        /* Shorter images for mobile balance */
    }

    .style-card:has(input:checked) {
        transform: scale(0.98);
        /* Slight press effect on mobile */
    }
}