.watched-label {
    display: none !important; /* Important add karo */
    background: #ef557e94;
    color: #fff;
    padding: 6px 10px;
    border-radius: 100px;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10; /* Z-index increase karo */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.album-card.watched .watched-label {
    display: block !important;
}

/* Album Filters */
.top-filter{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}
.top-filter-select{
    width: 300px;
}
.album-filters {
    display: flex;
    /* gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    align-items: center;
}

.album-filters input[type="search"] {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    min-width: 200px;
    transition: border-color 0.3s;
}

.album-filters input[type="search"]:focus {
    outline: none;
    border-color: #007cba;
}

.album-filters select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    min-width: 180px;
    cursor: pointer;
}

.album-filter-btn {    
    background-color:#3c5556;    
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
	border-radius: 100px 100px 100px 100px;
    padding: 18px 40px 18px 40px;
	color:#f6efe7;
}

.album-filter-btn:hover {
    background: #fb9c99;
    transform: translateY(-2px);
}

.album-filter-btn.active {
    background: #fb9c99;
}

.album-filter-btn.active:hover {
    background: #3c5556;
}

/* ALBUM GRID */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* smaller cards */
    gap: 20px;
    margin-top: 20px;
}

/* ALBUM CARD */
.album-card {
    cursor: pointer;
    position: relative;
    background: #fff;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* IMAGE CONTAINER */
.album-card .img-container {
    position: relative;
    width: 100%;   
    background: #f4f4f4;
    overflow: hidden;
}

/* MAIN + HOVER IMAGE */
.album-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* HOVER IMAGE */
.album-card .hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    object-fit: contain !important;
    transform: scale(1.05);
}

.album-card:hover .hover-image {
    opacity: 1;
    transform: scale(1.08);
}

.album-card:hover img:first-child {
    opacity: 0;
}



/* BEST SELLER BADGE */
.best-seller-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}


/* Album Popup */
#album-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    padding: 40px 20px;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.album-popup-content {
    position: relative;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 20px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.album-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3c5556;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: all 0.3s;
}

.album-close:hover {
    background: #fb9c99;
    transform: rotate(90deg);
}



.album-popup-content .content {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #555;
}

/* .dearflip-container {
    
} */
/* CONTAINER */
.album-extra-info {
    display: flex;
    flex-wrap: wrap;           /* multiple items wrap */
    gap: 15px;                 /* space between items */
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}
.info-item {
    display: flex;
}


/* ITEM CARD */
.info-details-card {
    display: flex;
    align-items: flex-start;
    /* background: #fff; */
    /* border-radius: 8px; */
    padding: 10px 12px;
    flex: 1 1 200px;           /* responsive width, min 200px */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    transition: transform 0.3s, box-shadow 0.3s;
}



/* ICON */
.info-icon {
    font-size: 22px;
    margin-right: 12px;
    flex-shrink: 0;            /* icon fixed size */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007cba;
}

/* TEXT */
.info-item div {
    display: flex;
    flex-direction: column;
}

/* TITLE */
.info-item h4 {
    margin: 0 0 4px 0;    
}

/* DESCRIPTION */
.info-item p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* EXTRA HEADING (optional) */
.album-extra-info h3 {
    width: 100%;
    margin-bottom: 12px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .album-extra-info {
        flex-direction: column;
        gap: 12px;
    }

    .info-details-card {
        flex: 1 1 100%;
    }
}


.album-loading,
.album-error {
    text-align: center;
    padding: 100px;
    color: white;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .album-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .album-filters input,
    .album-filters select,
    .album-filter-btn {
        width: 100%;
        min-width: auto;
    }
    
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .album-popup-content {
        padding: 30px 20px;
    }
    
    
    
    .info-item {
        flex-direction: column;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    
    .album-card .img-container {
        height: 200px;
    }
    
    .album-popup-content {
        padding: 20px 15px;
    }
}

.album-card h4{
  text-align: center;
  margin-top: 10px;
}


/* Test CSS */
/* =========================
   MOBILE RESPONSIVE FILTER
   ========================= */
@media (max-width: 768px) {

    .top-filter {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 12px;
    }

    .top-filter-left {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .top-filter-right {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .top-filter-select {
        width: 100%;
       
    }

    .album-filter-btn {
        flex: 1;
        padding: 12px 10px;
        
    }

    
    .album-filter-btn:active {
        transform: scale(0.97);
    }
}

/* =========================
   EXTRA SMALL DEVICES
   ========================= */
@media (max-width: 480px) {

    .top-filter {
        padding: 10px;
        gap: 12px;
    }

    .top-filter-select {
        font-size: 14px;
        padding: 11px 12px;
    }

    .album-filter-btn {
        font-size: 13px;
        padding: 11px 8px;
    }
}

/* Toggle */