/* Business detail overlay */
.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.overlay-card {
    background: var(--charcoal);
    border: 1px solid rgba(197, 164, 78, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 600px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--cream-dark);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.overlay-close:hover {
    background: rgba(245, 240, 232, 0.1);
}

.overlay-card h2 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.overlay-card .overlay-location {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    margin-bottom: 0.75rem;
}

.overlay-card .overlay-desc {
    font-size: 0.95rem;
    color: var(--cream-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.approval-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(197, 164, 78, 0.15);
    border: 1px solid var(--gold-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.approval-badge::before {
    content: "\1F6E1";
    font-size: 0.9rem;
}

.overlay-visit-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--gold-dark);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.overlay-visit-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.overlay-products h3 {
    font-family: var(--font-display);
    color: var(--gold-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.overlay-products .product-grid {
    padding: 0;
}

/* Claim / self-list form styles */
.overlay-claim-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid var(--gold-dark);
    color: var(--gold);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.overlay-claim-btn:hover {
    background: rgba(197, 164, 78, 0.15);
}

.claim-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.claim-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(197, 164, 78, 0.3);
    border-radius: 8px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    box-sizing: border-box;
}

.claim-input::placeholder {
    color: rgba(245, 240, 232, 0.4);
}

.claim-input:focus {
    outline: none;
    border-color: var(--gold);
}

textarea.claim-input {
    resize: vertical;
    min-height: 80px;
}

select.claim-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5A44E' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

select.claim-input option {
    background: var(--charcoal);
    color: var(--cream);
}

@media (min-width: 1024px) {
    .overlay-card {
        width: 90%;
        padding: 2rem;
        border-radius: 16px;
    }
}
