/* === CONTENT AREA === */
.content-area {
    flex: 1;
    display: grid;
    gap: 25px;
    align-content: start;
}

/* === UNIFIED CARD STYLES === */
.unified-card {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    height: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.unified-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* Product Card Specific */
.product-card .card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card .card-image i {
    position: absolute;
    z-index: 1;
}

.product-card .card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-category {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* === PAGINATION STYLES === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    grid-column: 1 / -1;
}

.pagination-btn {
    padding: 0.8rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.pagination-info {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--surface);
    border: 1px solid var(--gray-light);
    font-size: 0.9rem;
}

.page-number.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-number:hover:not(.active) {
    background: var(--gray-light);
    transform: translateY(-1px);
}

/* === LOADING STATES === */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === NO DATA STATES === */
.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-data i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.no-data p {
    font-size: 1rem;
    opacity: 0.8;
}

/* === CUSTOM NOTIFICATION === */
.custom-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e40af;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    text-align: center;
    opacity: 0;
}

.custom-notification-error {
    background: #ef4444;
}

.custom-notification-info {
    background: #3b82f6;
}

/* New Store Card Styles */
.store-banner-container {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    overflow: hidden;
}

.store-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.store-logo {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 3px solid white;
}

.store-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.store-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.store-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.store-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.store-badge.verified {
    background: linear-gradient(135deg, #10b981, #059669);
}

.store-badge.selected {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.store-industry,
.store-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.store-industry i,
.store-type i {
    width: 16px;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Adjust card content padding for new design */
.store-card .card-content {
    padding: 35px 20px 20px;
}
