.selling-display-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.selling-sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: 400px;
}

.selling-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.selling-categories li {
    border-bottom: 1px solid #dee2e6;
}

.selling-categories li:last-child {
    border-bottom: none;
}

.category-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #e9ecef;
    color: #212529;
}

.category-link.active {
    background: #e9ecef;
    color: #212529;
    border-left: 4px solid #000;
}

.selling-content {
    flex: 1;
    padding: 20px;
}

.selling-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.selling-item {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selling-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.selling-item-header {
    background: #222222;
    color: #fff;
    padding: 5px 15px;
}

.selling-item-header h3 {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
}

.selling-item-content {
    padding: 15px;
}

.selling-item-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.selling-item-tagline {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 2.8em; /* Ensure consistent height */
}

.selling-item-link {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border:none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.selling-item-link:hover {
    background: #fff;
    color: #222;
    border:1px solid #222;
}

.selling-mobile-select {
    display: none;
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    border-top-left-radius:4px !important;
    border-top-right-radius:4px !important;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .selling-sidebar {
        width: 200px;
    }
    
    .category-link {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .selling-items-grid {
        gap: 15px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .selling-display-container {
        flex-direction: column;
        margin: 0 10px;
    }
    
    .selling-sidebar {
        display: none; /* Hidden on mobile, replaced by select */
        width: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        min-height: auto;
    }
    
    .selling-mobile-select {
        display: block;
    }
    
    .selling-content {
        padding: 15px;
    }
    
    .selling-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .selling-item-header {
        padding: 10px 12px;
    }
    
    .selling-item-header h3 {
        font-size: 1em;
    }
    
    .selling-item-content {
        padding: 12px;
    }
    
    .selling-item-price {
        font-size: 1.2em;
    }
    
    .selling-item-tagline {
        font-size: 0.85em;
        min-height: auto;
    }
    
    .selling-item-link {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .selling-display-container {
        margin: 0 5px;
        border-radius: 4px;
    }
    
    .selling-content {
        padding: 10px;
    }
    
    .selling-items-grid {
        gap: 10px;
    }
    
    .selling-item-content {
        padding: 10px;
    }
}

.elementor-widget-toggle .elementor-tab-title:visited, .vamtam-is-link .elementor-icon-box-title:visited, .vamtam-is-link .elementor-image-box-title:visited, a:visited{
    color:#fff;   
}
}