/* Egurukul Listing - Digital Business Card Mobile First CSS */

/* Container for Single Listing */
body.hp-template--listing-view-page {
    background: #eef2f5;
}

.hp-template--listing-view-page .hp-page__content {
    max-width: 480px;
    /* Mobile app width */
    margin: 20px auto;
    background: var(--el-card-bg, #ffffff);
    padding-bottom: 90px;
    /* Space for floating buttons */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-height: calc(100vh - 40px);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

/* Header / Cover Image */
.hp-template--listing-view-page .hp-listing__image {
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Floating Action Buttons (FAB) Container */
.el-fab-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Individual FAB Buttons */
.el-fab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease;
}

.el-fab-item:hover,
.el-fab-item:active {
    transform: translateY(-3px);
}

.el-fab-item span.dashicons {
    font-size: 24px;
    margin-bottom: 4px;
    width: 24px;
    height: 24px;
}

.el-fab-wa {
    color: #25D366;
}

.el-fab-call {
    color: #007BFF;
}

.el-fab-save {
    color: #FF9800;
}

.el-fab-qr {
    color: #673AB7;
}

.el-fab-upi {
    color: #E91E63;
}

/* Styling for specific HivePress elements to look like a card */
.hp-template--listing-view-page .hp-listing__title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-top: 25px;
    color: #222;
}

.hp-template--listing-view-page .hp-listing__categories {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    height: auto !important;
    white-space: normal !important;
}

/* Card blocks styling */
.hp-template--listing-view-page .hp-block {
    background: var(--el-card-bg, #ffffff);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

.hp-template--listing-view-page .hp-block:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Modal CSS */
.el-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.el-modal-content {
    background: var(--el-card-bg, #ffffff);
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.el-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

