/* Public Profile Styles */
.public-profile-container {
    max-width: 100%;
    margin: 0;
    padding: 2rem 0;
}

.public-profile-review-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    padding: 1rem;
}

.public-profile-review-summary {
    margin-bottom: 0.85rem;
}

.public-profile-review-summary .review-score {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
}

.public-profile-review-summary .review-meta {
    font-size: 0.85rem;
    color: #475569;
}

.public-profile-recent-reviews {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.public-profile-review-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem;
    background: #f8fafc;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.review-rating {
    color: #f59e0b;
    font-weight: 700;
}

.review-comment {
    font-size: 0.82rem;
    color: #334155;
    margin-top: 0.35rem;
}

.review-item-footer {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Profile inline seller star rating */
.profile-seller-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1;
}

.profile-seller-rating .bi-star-fill {
    color: #facc15;
    filter: drop-shadow(0 0 3px rgba(250, 204, 21, 0.45));
}

.profile-seller-rating .bi-star {
    color: rgba(255, 255, 255, 0.35);
}

.profile-seller-rating-text {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 0.35rem;
}

.public-profile-sidebar {
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .public-profile-sidebar {
        position: sticky;
        top: 2rem;
    }
}

/* Profile Header (Sidebar Card) */
.public-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.public-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    pointer-events: none;
}

.profile-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.profile-avatar {
    margin-bottom: 0.5rem;
    position: relative;
}

.profile-avatar i {
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.profile-avatar .profile-avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.profile-info {
    width: 100%;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.profile-joined {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,0,0,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.profile-public-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.public-profile-contact-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    padding: 1rem;
}

.profile-contact-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.profile-public-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #334155;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.35rem 0.6rem;
    width: 100%;
}

a.profile-public-link-item:hover {
    color: #1f2937;
    background: #eef2ff;
    border-color: #c7d2fe;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.profile-stat-btn {
    border: none;
    background: transparent;
    color: inherit;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.profile-stat-btn:hover .stat-count,
.profile-stat-btn:focus-visible .stat-count {
    text-decoration: underline;
}

.profile-stat-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
    border-radius: 8px;
}

.stat-count {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.profile-follow-modal-content {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.profile-follow-tabs .nav-link {
    border-radius: 999px;
    font-weight: 600;
}

.profile-follow-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.profile-follow-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
    color: #1f2937;
    background: #f8fafc;
}

.profile-follow-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1f2937;
}

.profile-follow-avatar,
.profile-follow-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-follow-avatar {
    object-fit: cover;
}

.profile-follow-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
}

.profile-follow-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.profile-follow-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    color: #64748b;
    font-size: 0.86rem;
}

.theme-dark .profile-follow-modal-content {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .profile-follow-modal-content .modal-header,
.theme-dark .profile-follow-modal-content .modal-body {
    border-color: #334155;
    color: #e2e8f0;
}

.theme-dark .profile-follow-item {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.theme-dark .profile-follow-item:hover {
    background: #1e1b4b;
    border-color: #6366f1;
    color: #e2e8f0;
}

.theme-dark .profile-follow-avatar-fallback {
    background: #334155;
    color: #cbd5e1;
}

.theme-dark .profile-follow-empty {
    border-color: #334155;
    color: #94a3b8;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-weight: 600;
}

/* Action Button */
.profile-header-action {
    margin-top: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.follow-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Main Content Area */
.public-profile-content {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

/* Tabs Navigation */
.public-profile-tabs {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.public-profile-tabs .nav-link {
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.public-profile-tabs .nav-link:hover {
    background: #f8fafc;
    color: #334155;
}

.public-profile-tabs .nav-link.active {
    background: #eff6ff;
    color: #4f46e5;
    position: relative;
}

.public-profile-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem; /* Adjust based on padding/border */
    left: 0;
    width: 100%;
    height: 3px;
    background: #4f46e5;
    border-radius: 3px 3px 0 0;
}

/* Content Sections */
.tab-content {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Favorites/Wishlist Styling */
.favorites-serie-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.favorites-serie-title i {
    color: #6366f1;
    font-size: 1.5rem;
}

.favorites-set-group {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.favorites-set-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 1.25rem;
    padding-left: 0.5rem;
    border-left: 4px solid #cbd5e1;
    line-height: 1.2;
}

.favorites-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
}

.favorite-card-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.favorite-card-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-color: #6366f1;
}

.favorite-card-image {
    width: 100%;
    aspect-ratio: 2.5/3.5;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.favorite-card-item:hover .favorite-card-image img {
    transform: scale(1.05);
}

.favorite-card-info {
    padding: 0.85rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.25rem;
}

.favorite-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-card-number {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Binder Cards */
.binders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.binder-card-public {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #6366f1;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.binder-card-public:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

.binder-header {
    margin-bottom: 1.5rem;
}

.binder-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.public-profile-badges-card {
    margin-top: 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    padding: 1rem;
}

.public-profile-badges-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.public-profile-badges-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.public-profile-badges-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 0.5rem;
}

.public-profile-badges-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.public-profile-badges-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    color: #64748b;
}

.public-profile-badges-empty i {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.public-profile-badge-tier-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.public-profile-badge-group {
    margin-bottom: 0.8rem;
}

.public-profile-badge-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.public-profile-badge-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.public-profile-badge-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem;
    background: #f8fafc;
}

.public-profile-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.public-profile-badge-icon-fallback {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: #e2e8f0;
    color: #475569;
    flex-shrink: 0;
}

.public-profile-badge-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.public-profile-badge-tier {
    display: inline-flex;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: #64748b;
}

.public-profile-badges-all-link {
    width: 100%;
    margin-top: 0.35rem;
}

.theme-dark .public-profile-badges-card {
    background: #111827;
    border-color: #1f2937;
}

.theme-dark .public-profile-badges-title,
.theme-dark .public-profile-badge-name {
    color: #e5e7eb;
}

.theme-dark .public-profile-badge-group-title,
.theme-dark .public-profile-badge-tier,
.theme-dark .public-profile-badges-loading,
.theme-dark .public-profile-badges-empty {
    color: #9ca3af;
}

.theme-dark .public-profile-badge-item {
    background: #0f172a;
    border-color: #1f2937;
}

.theme-dark .public-profile-badge-icon,
.theme-dark .public-profile-badge-icon-fallback {
    background: #1f2937;
    color: #cbd5e1;
}

.card-count-section {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
    color: #94a3b8;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: #cbd5e1;
}

.empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Overlay for binders with covers */
.binder-card-public.has-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 0;
}

.binder-card-public.has-cover > * {
    position: relative;
    z-index: 1;
}

.verified-badge {
    color: #4ade80;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    margin-left: 0.5rem;
}

/* Profile Activity Feed */
.profile-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-feed-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
}

.profile-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile-feed-username {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.profile-feed-username:hover {
    color: #4f46e5;
}

.profile-feed-action {
    color: #64748b;
    margin-left: 0.35rem;
}

.profile-feed-time {
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: none;
}

.profile-feed-content {
    color: #334155;
    margin: 0.5rem 0 0.75rem;
    white-space: pre-wrap;
}

.profile-feed-cards {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.profile-feed-card {
    width: 62px;
    aspect-ratio: 2/3;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid #e2e8f0;
}

.profile-feed-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-feed-actions {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.profile-feed-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-feed-action-link:hover {
    color: #4f46e5;
}

.profile-feed-comments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.profile-feed-comment {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    align-items: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
}

.profile-feed-comment-user {
    color: #334155;
    font-weight: 700;
    font-size: 0.82rem;
}

.profile-feed-comment-text {
    color: #475569;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-feed-comment-like {
    color: #94a3b8;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Dark Theme */
.theme-dark .public-profile-content {
    background: #111827;
    border-color: #1f2937;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.55);
}

.theme-dark .public-profile-contact-card {
    background: #111827;
    border-color: #1f2937;
}

.theme-dark .profile-contact-title,
.theme-dark .profile-public-link-item {
    color: #e5e7eb;
}

.theme-dark .profile-public-link-item {
    background: #0f172a;
    border-color: #334155;
}

.theme-dark a.profile-public-link-item:hover {
    color: #c7d2fe;
    background: #1f2937;
    border-color: #4f46e5;
}

.theme-dark .public-profile-tabs {
    border-bottom-color: #1f2937;
}

.theme-dark .public-profile-tabs .nav-link {
    color: #9ca3af;
}

.theme-dark .public-profile-tabs .nav-link:hover {
    background: #1f2937;
    color: #e5e7eb;
}

.theme-dark .public-profile-tabs .nav-link.active {
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
}

.theme-dark .favorites-serie-title,
.theme-dark .favorites-set-title,
.theme-dark .favorite-card-name,
.theme-dark .binder-name,
.theme-dark .card-count-item,
.theme-dark .card-count-text {
    color: #e5e7eb;
}

.theme-dark .favorites-serie-title {
    border-bottom-color: #1f2937;
}

.theme-dark .favorites-set-group {
    background: #0f172a;
}

.theme-dark .favorites-set-title {
    border-left-color: #334155;
}

.theme-dark .favorite-card-item,
.theme-dark .binder-card-public {
    background: #111827;
    border-color: #1f2937;
}

.theme-dark .favorite-card-info {
    background: #111827;
}

.theme-dark .favorite-card-image {
    background: #0b1220;
}

.theme-dark .favorite-card-number {
    color: #94a3b8;
}

.theme-dark .card-count-section {
    border-top-color: #1f2937;
}

.theme-dark .empty-state {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

.theme-dark .empty-state i {
    color: #64748b;
}

.theme-dark .binder-card-public:hover,
.theme-dark .favorite-card-item:hover {
    box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.6);
}

.theme-dark .profile-feed-item {
    background: #111827;
    border-color: #1f2937;
}

.theme-dark .profile-feed-username,
.theme-dark .profile-feed-content,
.theme-dark .profile-feed-comment-user,
.theme-dark .profile-feed-comment-text {
    color: #e5e7eb;
}

.theme-dark .profile-feed-action,
.theme-dark .profile-feed-time,
.theme-dark .profile-feed-action-link,
.theme-dark .profile-feed-comment-like {
    color: #94a3b8;
}

.theme-dark .profile-feed-action-link:hover,
.theme-dark .profile-feed-username:hover {
    color: #c7d2fe;
}

.theme-dark .profile-feed-actions {
    border-top-color: #1f2937;
}

.theme-dark .profile-feed-card {
    border-color: #334155;
}

.theme-dark .profile-feed-comment {
    background: #0f172a;
}

/* Profile Store Tab (Marketplace-like) */
.profile-marketplace-filter-card {
    border: 1px solid #eaeaea;
    padding: 1rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.profile-marketplace-listing-header {
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f6;
}

.profile-marketplace-listing-header .listing-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-marketplace-listing-header .listing-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-weight: 600;
}

.profile-store-card-item {
    transition: opacity 0.2s ease;
}

.product-card {
    border: 1px solid #eef2f6;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #e0e7ff;
    z-index: 10;
}

.product-image-container {
    position: relative;
    background: radial-gradient(circle at center, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-image-container img {
    transform: scale(1.08) translateY(-4px);
}

.product-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid #f8fafc;
}

.product-category {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 0.45rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-title:hover {
    color: #4f46e5;
}

.product-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.8rem;
}

.variant-badge {
    background: #e0e7ff;
    color: #4338ca;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
    margin-left: 0.35rem;
}

.product-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.85rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.product-currency {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 2px;
}

.btn-add-cart-modern {
    width: 100%;
    border-radius: 10px;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.88rem;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.8rem;
    text-decoration: none;
}

.btn-add-cart-modern:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.theme-dark .profile-marketplace-filter-card,
.theme-dark .profile-marketplace-listing-header,
.theme-dark .product-card {
    background: #111827;
    border-color: #1f2937;
}

.theme-dark .product-card-body,
.theme-dark .product-price-row {
    border-color: #1f2937;
}

.theme-dark .product-image-container {
    background: #0f172a;
}

.theme-dark .product-title,
.theme-dark .profile-marketplace-listing-header .listing-title,
.theme-dark .product-price {
    color: #e5e7eb;
}

.theme-dark .product-category,
.theme-dark .product-meta,
.theme-dark .product-currency,
.theme-dark .profile-marketplace-listing-header .listing-count {
    color: #94a3b8;
}
