/* ── Find My Store Plugin Styles ── */

/* Floating Button */
.fms-float-btn {
    position: fixed;
    bottom: 28px;
    z-index: 9999;
    padding: 13px 22px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    letter-spacing: 0.3px;
}
.fms-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.fms-right { right: 24px; }
.fms-left  { left: 24px; }

/* Inline shortcode button */
.fms-inline-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin: 8px 0;
    font-family: inherit;
}

/* Overlay / Modal */
.fms-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    direction: rtl;
}
.fms-modal.fms-open {
    display: flex;
}
.fms-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    animation: fmsSlideUp 0.28s ease;
    position: relative;
}
@keyframes fmsSlideUp {
    from { opacity:0; transform: translateY(30px); }
    to   { opacity:1; transform: translateY(0); }
}

/* Close Button */
.fms-close {
    position: absolute;
    top: 12px;
    left: 14px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.fms-close:hover { background: rgba(0,0,0,0.15); }

/* Header */
.fms-header {
    padding: 28px 24px 22px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.fms-pin { font-size: 36px; }
.fms-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.fms-header p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
    color: #fff;
}

/* Body */
.fms-body { padding: 20px; }

/* Info Grid */
.fms-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.fms-info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.fms-icon { font-size: 22px; flex-shrink: 0; }
.fms-info-card small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.fms-info-card a,
.fms-info-card span {
    font-size: 13px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}
.fms-info-card a:hover { text-decoration: underline; }

/* Map */
.fms-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.fms-no-map {
    text-align: center;
    color: #888;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 480px) {
    .fms-info-grid { grid-template-columns: 1fr; }
    .fms-float-btn { font-size: 13px; padding: 11px 18px; bottom: 18px; }
    .fms-right { right: 14px; }
    .fms-left  { left: 14px; }
}
