/* Custom CSS for Book Status Banners and Glassmorphic Hover Info Overlays */

.product-img {
    position: relative;
    overflow: hidden;
}

/* Diagonal Corner Banners */
.book-status-banner {
    position: absolute;
    top: 18px;
    left: -32px;
    width: 120px;
    padding: 3px 0;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.8px;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
}

.book-status-banner.ea-wip {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #1e272e;
}

.book-status-banner.coming-soon {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: #ffffff;
}

/* Glassmorphic Hover Info Overlay */
.book-status-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    color: #f8fafc;
    z-index: 15;
}

/* Reveal overlay when parent hover happens */
.product-img:hover .book-status-info-overlay {
    opacity: 1;
    visibility: visible;
}

.book-status-info-overlay .info-badge {
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.book-status-info-overlay.ea-wip-overlay .info-badge {
    background: rgba(243, 156, 18, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(243, 156, 18, 0.4);
}

.book-status-info-overlay.coming-soon-overlay .info-badge {
    background: rgba(9, 132, 227, 0.15);
    color: #74b9ff;
    border: 1px solid rgba(9, 132, 227, 0.4);
}

.book-status-info-overlay .info-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Josefin Sans', sans-serif;
}

.book-status-info-overlay.ea-wip-overlay .info-title {
    color: #f1c40f;
}

.book-status-info-overlay.coming-soon-overlay .info-title {
    color: #74b9ff;
}

.book-status-info-overlay .info-desc {
    font-size: 11.5px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
