:root {
    --primary-color: #000;
    --secondary-color: #ffd700;
    --accent-yellow: #ffe800;
    --dark-color: #000;
    --black: #000;
    --gray-bg: #3f475f;
    --white-bg: #fff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    /* --corporate-gradient: linear-gradient(135deg, #2f3546 0%, #000 100%); */
    --corporate-gradient: linear-gradient(135deg, #2f3546 0%, #000 100%);
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--light-gray);
    padding-top: 76px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #222629;
    border-color: #222629;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.3);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-bg) 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.search-container {
    animation: fadeInUp 1s ease 0.4s both;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: none;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px 0 0 10px;
}

.search-input:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.category-select {
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 1rem;
}

.search-btn {
    border-radius: 0 10px 10px 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* User Sidebar */
.user-sidebar {
    position: sticky;
    top: 100px;
}

.user-profile-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease;
}

.user-avatar {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.user-profile-card h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.user-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.sidebar-menu {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: slideInLeft 0.8s ease 0.2s both;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.sidebar-menu-item:last-child {
    border-bottom: none;
}

.sidebar-menu-item:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 2rem;
}

.sidebar-menu-item.active {
    background: rgba(0, 51, 153, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.sidebar-menu-item i {
    width: 20px;
    margin-right: 0.75rem;
}

.sidebar-menu-item .badge {
    margin-left: auto;
}

/* Profile Settings Styles */
.profile-header {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.profile-header h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.profile-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.notification-options,
.privacy-options {
    display: grid;
    gap: 1rem;
}

.notification-item,
.privacy-item {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.notification-item:hover,
.privacy-item:hover {
    background: rgba(0, 51, 153, 0.05);
    transform: translateY(-2px);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Favorites Styles */
.favorites-header {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.favorites-header h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.favorites-stat .stat-icon {
    background: linear-gradient(135deg, #e91e63, #f06292);
}

.recent-stat .stat-icon {
    background: linear-gradient(135deg, var(--info-color), #17a2b8);
}

.available-stat .stat-icon {
    background: linear-gradient(135deg, var(--success-color), #20c997);
}

.price-drop-stat .stat-icon {
    background: linear-gradient(135deg, var(--warning-color), #fd7e14);
}

.favorites-filter {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--light-gray);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.favorites-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.favorites-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.favorite-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.favorite-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.favorite-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.favorite-status.available {
    background: var(--success-color);
}

.favorite-status.sold {
    background: var(--danger-color);
}

.price-drop-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.remove-favorite {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-favorite:hover {
    background: var(--danger-color);
    transform: scale(1.1);
}

.favorite-content {
    padding: 1.5rem;
}

.favorite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.favorite-header h5 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
    flex: 1;
}

.favorite-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 1rem;
}

.favorite-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.price-drop {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
    margin-left: 0.5rem;
}

.sold-price {
    color: #6c757d;
}

.sold-label {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.favorite-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.favorite-details span {
    display: flex;
    align-items: center;
}

.favorite-details i {
    margin-right: 0.25rem;
}

.favorite-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.favorite-actions .btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.favorite-actions .btn:hover {
    transform: translateY(-2px);
}

.empty-favorites {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Messages Styles */
.messages-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: calc(100vh - 150px);
    overflow: hidden;
}

.conversations-panel {
    height: 100%;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.conversations-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.message-stats {
    display: flex;
    gap: 0.5rem;
}

.message-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    background: var(--light-gray);
}

.conversation-item.active {
    background: rgba(0, 51, 153, 0.1);
    border-left: 4px solid var(--primary-color);
}

.conversation-item.unread {
    background: rgba(255, 215, 0, 0.1);
}

.conversation-avatar {
    position: relative;
    margin-right: 1rem;
}

.conversation-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.online-status.online {
    background: var(--success-color);
}

.online-status.offline {
    background: #6c757d;
}

.online-status.away {
    background: var(--warning-color);
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.conversation-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.conversation-preview {
    margin-bottom: 0.25rem;
}

.listing-title {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.last-message {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.chat-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user-info {
    display: flex;
    align-items: center;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.chat-user-details h5 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.user-status {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.user-status.online {
    color: var(--success-color);
}

.user-status.offline {
    color: #6c757d;
}

.user-status.away {
    color: var(--warning-color);
}

.user-status i {
    margin-right: 0.25rem;
    font-size: 0.6rem;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.listing-context {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.listing-preview-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.listing-preview-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
}

.listing-info {
    flex: 1;
}

.listing-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.listing-info .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.listing-info .location {
    font-size: 0.8rem;
    color: #6c757d;
}

.messages-area {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--light-gray);
}

.message {
    display: flex;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.3s ease;
}

.message.sent {
    justify-content: flex-end;
}

.message-avatar {
    margin-right: 0.75rem;
}

.message-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    max-width: 70%;
}

.message.sent .message-content {
    text-align: right;
}

.message-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.25rem;
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
}

.message-bubble p {
    margin: 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #6c757d;
    padding: 0 0.5rem;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6c757d;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.message-input-area {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: white;
}

.message-input-area .form-control {
    border: none;
    background: var(--light-gray);
    border-radius: 25px;
    padding: 0.75rem 1rem;
}

.message-input-area .form-control:focus {
    box-shadow: none;
    background: white;
    border: 2px solid var(--primary-color);
}

.message-input-area .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Corporate Membership Styles */
.corporate-hero {
    background: var(--corporate-gradient);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 215, 0, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #fff !important;
}

.hero-cta {
    margin-bottom: 2rem;
}

.btn-corporate {
    background: var(--gold-gradient);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    color: var(--dark-color);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.floating-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.floating-card h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.floating-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--corporate-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

.feature-highlight {
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    margin: 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--dark-color);
}

.plan-header {
    text-align: center;
}

.plan-header.individual {
    color: #6c757d;
}

.plan-header.corporate {
    color: var(--primary-color);
}

.plan-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.plan-header h5 {
    margin: 0;
    font-weight: 600;
}

.plan-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: white;
}

.pricing-toggle {
    text-align: center;
    margin-bottom: 3rem;
}

.toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 25px;
}

.toggle-label {
    font-weight: 600;
    color: var(--dark-color);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #6c757d;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: var(--success-color);
    margin-right: 0.5rem;
    width: 16px;
}

.pricing-guarantee {
    text-align: center;
}

.guarantee-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    display: inline-block;
    max-width: 400px;
}

.guarantee-card i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.guarantee-card h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #6c757d;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h6 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--corporate-gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-features i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Upgrade Modal */
.upgrade-form {
    padding: 1rem 0;
}

.selected-plan {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
}

.plan-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.25rem 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.plan-features i {
    color: var(--success-color);
    margin-right: 0.5rem;
    width: 16px;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: bounceIn 0.8s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
}

.active-stat .stat-icon {
    background: linear-gradient(135deg, var(--success-color), #20c997);
}

.pending-stat .stat-icon {
    background: linear-gradient(135deg, var(--info-color), #17a2b8);
}

.passive-stat .stat-icon {
    background: linear-gradient(135deg, var(--warning-color), #fd7e14);
}

.removed-stat .stat-icon {
    background: linear-gradient(135deg, var(--danger-color), #e83e8c);
}

.total-stat .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
}

.stat-info h4 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.stat-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Listings Container */
.listings-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.listing-tabs {
    border-bottom: 2px solid var(--border-color);
    background: var(--light-gray);
    padding: 0 1.5rem;
}

.listing-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.listing-tabs .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.listing-tabs .nav-link.active {
    color: var(--primary-color);
    background: white;
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    padding: 2rem;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.listing-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.listing-item.passive {
    opacity: 0.8;
    border-color: var(--warning-color);
}

.listing-item.pending {
    opacity: 0.8;
    border-color:  #17a2b8;
}


.listing-item.removed {
    opacity: 0.6;
    border-color: var(--danger-color);
}

.listing-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.listing-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.listing-status.active {
    background: var(--success-color);
}

.listing-status.passive {
    background: var(--warning-color);
}

.listing-status.pending {
    background: #17a2b8;
}

.listing-status.removed {
    background: var(--danger-color);
}

.listing-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.listing-urgent {
    position: absolute;
    top: 50px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.listing-content {
    padding: 1.5rem;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.listing-header h5 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
    flex: 1;
}

.listing-id {
    font-size: 0.8rem;
    color: #6c757d;
    background: var(--light-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    margin-left: 1rem;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.listing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.listing-details span {
    display: flex;
    align-items: center;
}

.listing-details i {
    margin-right: 0.25rem;
}

.listing-expires,
.listing-expired,
.listing-removed {
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-expires {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.listing-expired {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.listing-removed {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.listing-actions .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.listing-actions .btn:hover {
    transform: translateY(-2px);
}

/* Categories Sidebar */
.categories-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
    animation: slideInLeft 0.8s ease;
}

.sidebar-header {
    background: linear-gradient(135deg, #2f3546 0%, #000 100%);
    color: white;
    padding: 1.5rem;
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 600;
}

.sidebar-header small {
    opacity: 0.8;
}

.category-section {
    border-bottom: 1px solid var(--border-color);
}

.category-header {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
}

.category-header:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.category-icon {
    color: var(--primary-color);
    width: 20px;
    margin-right: 0.75rem;
}

.category-title {
    flex: 1;
    font-weight: 600;
}

.toggle-icon {
    font-size: 0.8rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.category-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.subcategory-list {
    background: var(--light-gray);
    padding: 0.5rem 0;
}

.subcategory-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 2.5rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.subcategory-item:hover {
    background: white;
    color: var(--primary-color);
    padding-left: 3rem;
}

.subcategory-item i {
    width: 16px;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.show-more-btn {
    padding: 1rem 1.5rem;
    text-align: center;
}

/* Featured Showcase */
.featured-showcase {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.showcase-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--secondary-color);
}

/* Category Grid Section */
.category-grid-section {
    margin-bottom: 2rem;
}

.category-grid-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.category-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-grid-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.category-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    text-align: center;
}

.category-grid-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.3);
}

.category-grid-item i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-grid-item:hover i {
    color: white;
}

.category-grid-item span {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 2.2;
}

/* Popular Products Section */
.popular-products-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease;
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Modal Styles */
.reactivation-info {
    padding: 1rem 0;
}

.listing-preview {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.listing-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.pricing-info .form-check {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.pricing-info .form-check:hover {
    border-color: var(--primary-color);
    background: rgba(0, 51, 153, 0.05);
}

.pricing-info .form-check-input:checked + .form-check-label {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-sidebar,
    .user-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-box {
        padding: 0.75rem;
    }
    
    .search-input,
    .category-select {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .category-grid-item {
        padding: 0.75rem 0.25rem;
    }
    
    .category-grid-item span {
        font-size: 0.7rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .listing-actions {
        flex-direction: column;
    }

    .listing-actions .btn {
        flex: none;
    }

    .messages-container {
        height: calc(100vh - 120px);
    }

    .conversations-panel {
        display: none;
    }

    .conversations-panel.show {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        background: white;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-cards {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .featured-showcase,
    .category-grid-card,
    .popular-products-section,
    .listings-container {
        padding: 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .listing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .listing-id {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .profile-actions {
        flex-direction: column;
    }

    .favorites-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    animation: pulse 2s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 153, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Create Listing Styles */
.create-listing-header {
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 16px;
    /* margin-top: 27px; */
    border-radius: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

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

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary-color);
}

.listing-form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.category-selection-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.category-selection-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-selection-card.selected {
    border-color: var(--primary-color);
    background: rgba(0, 51, 153, 0.05);
}

.category-selection-card .category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.subcategory-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.subcategory-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.subcategory-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subcategory-option:hover {
    border-color: var(--primary-color);
}

.subcategory-option.selected {
    border-color: var(--primary-color);
    background: rgba(0, 51, 153, 0.05);
}

.subcategory-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.photo-upload-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(0, 51, 153, 0.05);
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.photo-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.listing-preview {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.preview-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.preview-images {
    height: 300px;
    overflow: hidden;
}

.preview-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
}

.preview-content {
    padding: 2rem;
}

.preview-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.preview-location {
    color: #6c757d;
    margin-bottom: 1rem;
}

.preview-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.preview-features span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

.doping-options {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.doping-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.doping-card:hover {
    background: rgba(0, 51, 153, 0.05);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Animation classes for scroll effects */
.animate-in {
    animation: fadeInUp 0.8s ease;
}

/* Success animation */
.success-animation {
    animation: bounceIn 1s ease;
}

/* Shimmer effect for loading states */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}
.category-selection-card.active,
.subcategory-option.active {
    border: 2px solid #3f475f;
    background-color: #f0f8ff;
    transition: 0.3s ease;
}

.category-selection-card,
.subcategory-option {
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
}



/*  */
    .upgrade-alert-card {
        animation: fadeInUp 0.6s ease;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border-left: 5px solid #ffc107;
        border-radius: 10px;
        background-color: #fff8e1;
        padding: 20px;
        margin-top: 70px;
        margin-bottom: 70px !important;
    }

    .upgrade-alert-card h5 {
        line-height: 30px !important;
        font-size: 20px;
    }

    .upgrade-alert-card p {
        line-height: 40px !important;
        font-size: 15px;
    }

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

    .ad-post-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        animation: fadeSlideIn 0.6s ease;
        margin-top: 70px;
        margin-bottom: 70px !important;
        width: 50%;
    }

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

    .ad-post-card h3 {
        font-weight: 600;
        margin-bottom: 25px;
        color: #333;
        font-size: 25px;
    }

    .form-group label {
        font-weight: 500;
        color: #555;
    }

    .form-control {
        border-radius: 8px;
        padding: 0px 14px;
    }

    #postAdBtn {
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 500;
        transition: background-color 0.3s;
    }

    #postAdBtn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
    .is-invalid {
        border-color: red;
    }

    a:hover {
    text-decoration: unset !important;
    }

            /* Filter Page Styles */
            .filter-header-section {
                background: linear-gradient(135deg, #2f3546 0%, #000 100%);
                padding: 2rem 0;
                color: white;
            }

            .filter-breadcrumb .breadcrumb {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 25px;
                padding: 0.5rem 1rem;
                margin-bottom: 1rem;
            }

            .filter-breadcrumb .breadcrumb-item a {
                color: rgba(255, 255, 255, 0.8);
                text-decoration: none;
            }

            .filter-breadcrumb .breadcrumb-item.active {
                color: white;
            }

            .filter-title {
                font-size: 2rem;
                font-weight: 700;
                margin: 0;
                text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            }

            .search-query {
                color: #ffd700;
                font-style: italic;
            }

            .filter-main-content {
                padding: 2rem 0;
                background-color: #f8f9fa;
                min-height: 80vh;
            }

            /* Filter Sidebar Styles */
            .filter-sidebar {
                position: sticky;
                top: 2rem;
            }

            .filter-card {
                background: white;
                border-radius: 15px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
                margin-bottom: 1.5rem;
                overflow: hidden;
            }

            .filter-card-header {
                background: linear-gradient(135deg, #2f3546 0%, #000 100%);
                color: white;
                padding: 1.5rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .filter-card-header h5 {
                margin: 0;
                font-weight: 600;
            }

            .filter-section {
                padding: 1.5rem;
                border-bottom: 1px solid #eee;
            }

            .filter-section:last-child {
                border-bottom: none;
            }

            .filter-label {
                font-weight: 600;
                color: #333;
                margin-bottom: 0.75rem;
                display: block;
            }

            .filter-input {
                border: 2px solid #e9ecef;
                border-radius: 8px;
                padding: 0.75rem;
                transition: all 0.3s ease;
            }

            .filter-input:focus {
                border-color: #667eea;
                box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
            }

            /* Category Filter Styles */
            .category-filter-list {
                max-height: 400px;
                overflow-y: auto;
            }

            .category-filter-item {
                margin-bottom: 0.75rem;
            }

            .category-label {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                font-weight: 500;
                cursor: pointer;
                padding: 0.5rem;
                border-radius: 8px;
                transition: background-color 0.3s ease;
            }

            .category-label:hover {
                background-color: #f8f9fa;
            }

            .category-label img {
                border-radius: 4px;
            }

            .toggle-subcats {
                margin-left: auto;
                cursor: pointer;
                transition: transform 0.3s ease;
            }

            .subcategory-list {
                margin-left: 2rem;
                margin-top: 0.5rem;
                padding-left: 1rem;
                border-left: 2px solid #e9ecef;
            }

            .subcategory-list.show {
                display: block !important;
            }

            .subcategory-item {
                margin-bottom: 0.5rem;
            }

            .subcategory-item label {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                font-size: 0.9rem;
                cursor: pointer;
                padding: 0.25rem;
                border-radius: 6px;
                transition: background-color 0.3s ease;
            }

            .subcategory-item label:hover {
                background-color: #f8f9fa;
            }

            /* Price Range Styles */
            .price-range-inputs input {
                text-align: center;
            }

            /* Condition Options */
            .condition-options .form-check {
                margin-bottom: 0.5rem;
            }

            .condition-options .form-check-label {
                cursor: pointer;
                padding-left: 0.5rem;
            }

            /* Filter Actions */
            .filter-actions {
                padding: 1.5rem;
                background-color: #f8f9fa;
            }

            .filter-apply-btn {
                width: 100%;
                padding: 0.75rem;
                font-weight: 600;
                border-radius: 8px;
                background: linear-gradient(135deg, #2f3546 0%, #000 100%);
                border: none;
                transition: all 0.3s ease;
            }

            .filter-apply-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
            }

            /* Active Filters Card */
            .active-filters-card {
                background: white;
                border-radius: 15px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
                padding: 1.5rem;
            }

            .active-filters-card h6 {
                color: #333;
                font-weight: 600;
                margin-bottom: 1rem;
            }

            .active-filters-list {
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
            }

            .active-filter-tag {
                background: linear-gradient(135deg, #2f3546 0%, #000 100%);
                color: white;
                padding: 0.5rem 0.75rem;
                border-radius: 20px;
                font-size: 0.85rem;
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }

            .filter-type {
                font-weight: 600;
            }

            .filter-value {
                opacity: 0.9;
            }

            .remove-filter {
                background: rgba(255,255,255,0.2);
                border: none;
                color: white;
                border-radius: 50%;
                width: 20px;
                height: 20px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: background-color 0.3s ease;
            }

            .remove-filter:hover {
                background: rgba(255,255,255,0.3);
            }

            /* Results Area Styles */
            .results-header {
                background: white;
                border-radius: 15px;
                box-shadow: 0 5px 15px rgba(0,0,0,0.08);
                padding: 1.5rem;
                margin-bottom: 2rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .results-info h4 {
                color: #333;
                font-weight: 700;
                margin-bottom: 0.5rem;
            }

            .results-count {
                color: #666;
                margin: 0;
            }

            .results-sorting select {
                min-width: 200px;
                border: 2px solid #e9ecef;
                border-radius: 8px;
                padding: 0.5rem;
            }

            
            /* No Results Styles */
            .no-results {
                text-align: center;
                padding: 4rem 2rem;
                background: white;
                border-radius: 15px;
                box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            }

            .no-results-icon {
                font-size: 4rem;
                color: #ffe800;
                margin-bottom: 1rem;
            }

            .no-results h5 {
                color: #333;
                margin-bottom: 1rem;
            }

            .no-results p {
                color: #666;
                margin-bottom: 2rem;
            }

            /* Pagination Styles */
            .pagination-wrapper {
                display: flex;
                justify-content: center;
                margin-top: 2rem;
            }

            .pagination-wrapper .pagination {
                background: white;
                border-radius: 15px;
                box-shadow: 0 5px 15px rgba(0,0,0,0.08);
                padding: 1rem;
            }

            /* Responsive Design */
            @media (max-width: 992px) {
                .filter-sidebar {
                    position: static;
                    margin-bottom: 2rem;
                }
                
                .results-header {
                    flex-direction: column;
                    gap: 1rem;
                    text-align: center;
                }
                
                .results-sorting select {
                    min-width: 100%;
                }
            }

            @media (max-width: 768px) {
                .filter-title {
                    font-size: 1.5rem;
                }
                
                .products-results-grid {
                    grid-template-columns: 1fr;
                }
                
                .filter-card-header {
                    flex-direction: column;
                    gap: 1rem;
                    text-align: center;
                }
                
                .active-filters-list {
                    justify-content: center;
                }
            }

            /* Custom Scrollbar for Category List */
            .category-filter-list::-webkit-scrollbar {
                width: 6px;
            }

            .category-filter-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 3px;
            }

            .category-filter-list::-webkit-scrollbar-thumb {
                background: #667eea;
                border-radius: 3px;
            }

            .category-filter-list::-webkit-scrollbar-thumb:hover {
                background: #5a67d8;
            }

            /* Animation for filter sections */
            .filter-section {
                animation: fadeInUp 0.6s ease forwards;
            }

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


    /* Grid Layout with Equal Heights */
            
        .products-results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
            align-items: stretch; /* This ensures equal heights */
        }

        /* Base Card Styles - Equal Heights */
        .product-result-card,
        .doping-product-card {
            display: flex;
            flex-direction: column;
            height: 100%; /* Equal height for all cards */
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        /* Regular Product Card */
        .product-result-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .product-result-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border-color: #667eea;
        }

        .product-result-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .product-result-card:hover::before {
            transform: scaleX(1);
        }

        /* Doping Product Card - Premium Design */
        .doping-product-card {
            background: linear-gradient(145deg, #fff 0%, #fefefe 100%);
            border: 3px solid transparent;
            background-clip: padding-box;
            position: relative;
            overflow: hidden;
        }

        .doping-product-card::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #764ba2, #ffd700);
            border-radius: 19px;
            z-index: -1;
            animation: rotateBorder 4s linear infinite;
        }

        .doping-product-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .doping-product-card:hover::after {
            opacity: 1;
        }

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

        .doping-product-card:hover {
            transform: translateY(-12px) scale(1.03);
            box-shadow: 0 25px 50px rgba(255, 193, 7, 0.3);
        }

        /* Product Link */
        .product-link {
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        /* Image Containers - Fixed Heights */
        .product-image,
        .doping-product-image {
            position: relative;
            height: 220px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .product-image img,
        .doping-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .product-result-card:hover .product-image img,
        .doping-product-card:hover .doping-product-image img {
            transform: scale(1.1) rotate(1deg);
        }

        /* Image Overlays */
        .product-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .product-result-card:hover .product-image::after {
            opacity: 1;
        }

        .doping-product-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 107, 0.15));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .doping-product-card:hover .doping-product-image::after {
            opacity: 1;
        }

        /* Shine Effect for Doping Cards */
        .doping-shine {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            animation: shine 3s ease-in-out infinite;
            z-index: 5;
        }

        @keyframes shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        /* Badges */
        .featured-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            animation: gentlePulse 2s ease-in-out infinite;
        }

        @keyframes gentlePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .doping-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: linear-gradient(135deg, #ff6b6b, #ffd700);
            color: white;
            padding: 8px 14px;
            border-radius: 25px;
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
            z-index: 10;
            animation: dopingPulse 2s ease-in-out infinite;
        }

        @keyframes dopingPulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(2deg); }
        }

        .premium-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #ffd700, #ffb347);
            color: #333;
            padding: 6px 10px;
            border-radius: 18px;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
            z-index: 10;
            animation: crownFloat 3s ease-in-out infinite;
        }

        @keyframes crownFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-3px); }
        }

        .doping-featured-badge {
            position: absolute;
            top: 55px;
            left: 12px;
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            color: white;
            padding: 5px 10px;
            border-radius: 18px;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
            z-index: 10;
        }

        /* Details Containers - Flexible Heights */
        .product-details,
        .doping-product-details {
            padding: 20px;
            background: white;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Titles */
        .product-title,
        .doping-product-title {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 16px;
        }

        .doping-product-title {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        /* Product IDs */
        .product-id,
        .doping-product-id {
            color: #718096;
            font-size: 12px;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .doping-product-id {
            color: #9f7aea;
            font-weight: 600;
        }

        /* Prices */
        .product-price {
            font-size: 18px;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .doping-product-price {
            font-size: 20px;
            font-weight: 800;
            background: linear-gradient(135deg, #ff6b6b, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            text-shadow: 0 2px 4px rgba(255, 107, 107, 0.1);
        }

        /* Meta Information */
        .product-meta,
        .doping-product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #718096;
            margin-top: auto;
            padding-top: 12px;
            border-top: 1px solid #e2e8f0;
        }

        .doping-product-meta {
            border-top: 1px solid #ffd700;
        }

        .product-location,
        .product-date,
        .doping-product-location,
        .doping-product-date {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .doping-product-location i,
        .doping-product-date i {
            color: #ffd700;
        }

        .product-location i,
        .product-date i {
            color: #667eea;
        }

        /* Hover Effects for Text */
        .product-result-card:hover .product-title {
            color: #667eea;
            transition: color 0.3s ease;
        }

        .product-result-card:hover .product-price {
            transform: scale(1.05);
            transition: transform 0.3s ease;
        }

        .doping-product-card:hover .doping-product-price {
            animation: priceGlow 0.5s ease-in-out;
        }

        @keyframes priceGlow {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.2); }
        }

        /* Loading Animation */
        .product-result-card,
        .doping-product-card {
            animation: cardFadeIn 0.6s ease-out forwards;
            opacity: 0;
            transform: translateY(20px);
        }

        @keyframes cardFadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Stagger animation for multiple cards */
        .product-result-card:nth-child(1) { animation-delay: 0.1s; }
        .product-result-card:nth-child(2) { animation-delay: 0.2s; }
        .product-result-card:nth-child(3) { animation-delay: 0.3s; }
        .product-result-card:nth-child(4) { animation-delay: 0.4s; }
        .product-result-card:nth-child(5) { animation-delay: 0.5s; }
        .product-result-card:nth-child(6) { animation-delay: 0.6s; }

        .doping-product-card:nth-child(1) { animation-delay: 0.1s; }
        .doping-product-card:nth-child(2) { animation-delay: 0.2s; }
        .doping-product-card:nth-child(3) { animation-delay: 0.3s; }
        .doping-product-card:nth-child(4) { animation-delay: 0.4s; }
        .doping-product-card:nth-child(5) { animation-delay: 0.5s; }
        .doping-product-card:nth-child(6) { animation-delay: 0.6s; }

        /* Responsive Design */
        @media (max-width: 768px) {
            .products-results-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 1rem;
            }
            
            .product-image,
            .doping-product-image {
                height: 180px;
            }
            
            .product-details,
            .doping-product-details {
                padding: 16px;
            }
        }

        @media (max-width: 480px) {
            .products-results-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* Enhanced Grid Layouts */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Regular Showcase Items */
.showcase-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem 0.75rem 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Doping Showcase Items */
.doping-showcase-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #ffd700) border-box;
    animation: dopingBorderGlow 3s ease-in-out infinite alternate;
}

@keyframes dopingBorderGlow {
    0% { filter: brightness(1) saturate(1); }
    100% { filter: brightness(1.1) saturate(1.2); }
}

.doping-showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
}

.doping-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doping-showcase-item:hover img {
    transform: scale(1.15) rotate(1deg);
}

.doping-showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 193, 7, 0.9));
    color: white;
    padding: 1rem 0.75rem 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.doping-showcase-item:hover .doping-showcase-overlay {
    transform: translateY(0);
}

.doping-showcase-overlay h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.doping-showcase-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    z-index: 10;
    animation: dopingPulse 2s ease-in-out infinite;
}

@keyframes dopingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Regular Product Items */
.product-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
    background: var(--light-gray);
}

.product-info h6 {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.product-price {
    margin: 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Doping Product Items */
.doping-product-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #ffd700) border-box;
    animation: dopingItemGlow 3s ease-in-out infinite alternate;
}

@keyframes dopingItemGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.05); }
}

.doping-product-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
}

.doping-product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doping-product-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

.doping-product-info {
    padding: 1rem;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
    /* position: relative; */
}

.doping-product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b, #4ecdc4);
}

.doping-product-info h6 {
    margin: 0 0 0.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
}

.doping-product-price {
    margin: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.1);
}

.doping-product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    z-index: 10;
    animation: dopingPulse 2s ease-in-out infinite;
}

.doping-premium-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #ffd700, #ffb347);
    color: #333;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    z-index: 10;
}

/* Shine Effect for Doping Items */
.doping-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/*  */
        /* Scroll to Top Button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--accent-yellow);
            color: var(--black);
            border: none;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
        }

        .scroll-top.show {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            background: var(--black);
            color: var(--accent-yellow);
            transform: scale(1.1);
        }